Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
VRageMath.Vector3B Struct Reference

Public Member Functions

 Vector3B (sbyte x, sbyte y, sbyte z)
 
 Vector3B (Vector3I vec)
 
override string ToString ()
 
override int GetHashCode ()
 
override bool Equals (object obj)
 

Static Public Member Functions

static VRageMath.Vector3 operator* (VRageMath.Vector3 vector, Vector3B shortVector)
 
static VRageMath.Vector3 operator* (Vector3B shortVector, VRageMath.Vector3 vector)
 
static implicit operator Vector3I (Vector3B vec)
 
static Vector3B Round (Vector3 vec)
 
static bool operator== (Vector3B a, Vector3B b)
 
static bool operator!= (Vector3B a, Vector3B b)
 
static Vector3B operator- (Vector3B me)
 
static Vector3B Fit (Vector3 vec, float range)
 Puts Vector3 into Vector3B, value -127 represents -range, 128 represents range More...
 

Public Attributes

sbyte X
 
sbyte Y
 
sbyte Z
 

Static Public Attributes

static readonly Vector3B Zero = new Vector3B()
 
static Vector3B Up = new Vector3B(0, 1, 0)
 
static Vector3B Down = new Vector3B(0, -1, 0)
 
static Vector3B Right = new Vector3B(1, 0, 0)
 
static Vector3B Left = new Vector3B(-1, 0, 0)
 
static Vector3B Forward = new Vector3B(0, 0, -1)
 
static Vector3B Backward = new Vector3B(0, 0, 1)
 

Detailed Description

Definition at line 10 of file Vector3B.cs.

Constructor & Destructor Documentation

VRageMath.Vector3B.Vector3B ( sbyte  x,
sbyte  y,
sbyte  z 
)
inline

Definition at line 27 of file Vector3B.cs.

VRageMath.Vector3B.Vector3B ( Vector3I  vec)
inline

Definition at line 34 of file Vector3B.cs.

Member Function Documentation

override bool VRageMath.Vector3B.Equals ( object  obj)
inline

Definition at line 55 of file Vector3B.cs.

static Vector3B VRageMath.Vector3B.Fit ( Vector3  vec,
float  range 
)
inlinestatic

Puts Vector3 into Vector3B, value -127 represents -range, 128 represents range

Definition at line 104 of file Vector3B.cs.

override int VRageMath.Vector3B.GetHashCode ( )
inline

Definition at line 50 of file Vector3B.cs.

static implicit VRageMath.Vector3B.operator Vector3I ( Vector3B  vec)
inlinestatic

Definition at line 77 of file Vector3B.cs.

static bool VRageMath.Vector3B.operator!= ( Vector3B  a,
Vector3B  b 
)
inlinestatic

Definition at line 92 of file Vector3B.cs.

static VRageMath.Vector3 VRageMath.Vector3B.operator* ( VRageMath.Vector3  vector,
Vector3B  shortVector 
)
inlinestatic

Definition at line 67 of file Vector3B.cs.

static VRageMath.Vector3 VRageMath.Vector3B.operator* ( Vector3B  shortVector,
VRageMath.Vector3  vector 
)
inlinestatic

Definition at line 72 of file Vector3B.cs.

static Vector3B VRageMath.Vector3B.operator- ( Vector3B  me)
inlinestatic

Definition at line 97 of file Vector3B.cs.

static bool VRageMath.Vector3B.operator== ( Vector3B  a,
Vector3B  b 
)
inlinestatic

Definition at line 87 of file Vector3B.cs.

static Vector3B VRageMath.Vector3B.Round ( Vector3  vec)
inlinestatic

Definition at line 82 of file Vector3B.cs.

override string VRageMath.Vector3B.ToString ( )
inline

Definition at line 45 of file Vector3B.cs.

Member Data Documentation

Vector3B VRageMath.Vector3B.Backward = new Vector3B(0, 0, 1)
static

Definition at line 25 of file Vector3B.cs.

Vector3B VRageMath.Vector3B.Down = new Vector3B(0, -1, 0)
static

Definition at line 21 of file Vector3B.cs.

Vector3B VRageMath.Vector3B.Forward = new Vector3B(0, 0, -1)
static

Definition at line 24 of file Vector3B.cs.

Vector3B VRageMath.Vector3B.Left = new Vector3B(-1, 0, 0)
static

Definition at line 23 of file Vector3B.cs.

Vector3B VRageMath.Vector3B.Right = new Vector3B(1, 0, 0)
static

Definition at line 22 of file Vector3B.cs.

Vector3B VRageMath.Vector3B.Up = new Vector3B(0, 1, 0)
static

Definition at line 20 of file Vector3B.cs.

sbyte VRageMath.Vector3B.X

Definition at line 13 of file Vector3B.cs.

sbyte VRageMath.Vector3B.Y

Definition at line 15 of file Vector3B.cs.

sbyte VRageMath.Vector3B.Z

Definition at line 17 of file Vector3B.cs.

readonly Vector3B VRageMath.Vector3B.Zero = new Vector3B()
static

Definition at line 19 of file Vector3B.cs.


The documentation for this struct was generated from the following file: