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

Public Member Functions

 Vector3S (Vector3I vec)
 
 Vector3S (ref Vector3I vec)
 
 Vector3S (short x, short y, short z)
 
 Vector3S (float x, float y, float z)
 
override string ToString ()
 
override int GetHashCode ()
 
override bool Equals (object obj)
 

Static Public Member Functions

static Vector3S operator* (Vector3S v, short t)
 
static Vector3 operator* (Vector3S v, float t)
 
static VRageMath.Vector3 operator* (VRageMath.Vector3 vector, Vector3S shortVector)
 
static VRageMath.Vector3 operator* (Vector3S shortVector, VRageMath.Vector3 vector)
 
static bool operator== (Vector3S v1, Vector3S v2)
 
static bool operator!= (Vector3S v1, Vector3S v2)
 
static Vector3S Round (Vector3 v)
 
static implicit operator Vector3I (Vector3S me)
 
static Vector3I operator- (Vector3S op1, Vector3B op2)
 

Public Attributes

short X
 
short Y
 
short Z
 

Static Public Attributes

static Vector3S Up = new Vector3S(0, 1, 0)
 
static Vector3S Down = new Vector3S(0, -1, 0)
 
static Vector3S Right = new Vector3S(1, 0, 0)
 
static Vector3S Left = new Vector3S(-1, 0, 0)
 
static Vector3S Forward = new Vector3S(0, 0, -1)
 
static Vector3S Backward = new Vector3S(0, 0, 1)
 

Detailed Description

Definition at line 8 of file Vector3S.cs.

Constructor & Destructor Documentation

VRageMath.Vector3S.Vector3S ( Vector3I  vec)
inline

Definition at line 24 of file Vector3S.cs.

VRageMath.Vector3S.Vector3S ( ref Vector3I  vec)
inline

Definition at line 29 of file Vector3S.cs.

VRageMath.Vector3S.Vector3S ( short  x,
short  y,
short  z 
)
inline

Definition at line 36 of file Vector3S.cs.

VRageMath.Vector3S.Vector3S ( float  x,
float  y,
float  z 
)
inline

Definition at line 43 of file Vector3S.cs.

Member Function Documentation

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

Definition at line 60 of file Vector3S.cs.

override int VRageMath.Vector3S.GetHashCode ( )
inline

Definition at line 55 of file Vector3S.cs.

static implicit VRageMath.Vector3S.operator Vector3I ( Vector3S  me)
inlinestatic

Definition at line 106 of file Vector3S.cs.

static bool VRageMath.Vector3S.operator!= ( Vector3S  v1,
Vector3S  v2 
)
inlinestatic

Definition at line 96 of file Vector3S.cs.

static Vector3S VRageMath.Vector3S.operator* ( Vector3S  v,
short  t 
)
inlinestatic

Definition at line 72 of file Vector3S.cs.

static Vector3 VRageMath.Vector3S.operator* ( Vector3S  v,
float  t 
)
inlinestatic

Definition at line 77 of file Vector3S.cs.

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

Definition at line 82 of file Vector3S.cs.

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

Definition at line 87 of file Vector3S.cs.

static Vector3I VRageMath.Vector3S.operator- ( Vector3S  op1,
Vector3B  op2 
)
inlinestatic

Definition at line 111 of file Vector3S.cs.

static bool VRageMath.Vector3S.operator== ( Vector3S  v1,
Vector3S  v2 
)
inlinestatic

Definition at line 92 of file Vector3S.cs.

static Vector3S VRageMath.Vector3S.Round ( Vector3  v)
inlinestatic

Definition at line 101 of file Vector3S.cs.

override string VRageMath.Vector3S.ToString ( )
inline

Definition at line 50 of file Vector3S.cs.

Member Data Documentation

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

Definition at line 22 of file Vector3S.cs.

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

Definition at line 18 of file Vector3S.cs.

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

Definition at line 21 of file Vector3S.cs.

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

Definition at line 20 of file Vector3S.cs.

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

Definition at line 19 of file Vector3S.cs.

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

Definition at line 17 of file Vector3S.cs.

short VRageMath.Vector3S.X

Definition at line 11 of file Vector3S.cs.

short VRageMath.Vector3S.Y

Definition at line 13 of file Vector3S.cs.

short VRageMath.Vector3S.Z

Definition at line 15 of file Vector3S.cs.


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