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

Public Member Functions

 MyBlockOrientation (Base6Directions.Direction forward, Base6Directions.Direction up)
 
 MyBlockOrientation (ref Quaternion q)
 
 MyBlockOrientation (ref Matrix m)
 
void GetQuaternion (out Quaternion result)
 
void GetMatrix (out Matrix result)
 
override int GetHashCode ()
 
override bool Equals (object obj)
 
override string ToString ()
 
Base6Directions.Direction TransformDirection (Base6Directions.Direction baseDirection)
 Returns the direction baseDirection will point to after transformation More...
 
Base6Directions.Direction TransformDirectionInverse (Base6Directions.Direction baseDirection)
 Returns the direction that this orientation transforms to baseDirection More...
 

Static Public Member Functions

static bool operator== (MyBlockOrientation orientation1, MyBlockOrientation orientation2)
 
static bool operator!= (MyBlockOrientation orientation1, MyBlockOrientation orientation2)
 

Public Attributes

Base6Directions.Direction Forward
 
Base6Directions.Direction Up
 

Static Public Attributes

static readonly MyBlockOrientation Identity = new MyBlockOrientation(Base6Directions.Direction.Forward, Base6Directions.Direction.Up)
 

Properties

Base6Directions.Direction Left [get]
 
bool IsValid [get]
 

Detailed Description

Definition at line 11 of file MyBlockOrientation.cs.

Constructor & Destructor Documentation

VRageMath.MyBlockOrientation.MyBlockOrientation ( Base6Directions.Direction  forward,
Base6Directions.Direction  up 
)
inline

Definition at line 37 of file MyBlockOrientation.cs.

VRageMath.MyBlockOrientation.MyBlockOrientation ( ref Quaternion  q)
inline

Definition at line 44 of file MyBlockOrientation.cs.

VRageMath.MyBlockOrientation.MyBlockOrientation ( ref Matrix  m)
inline

Definition at line 51 of file MyBlockOrientation.cs.

Member Function Documentation

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

Definition at line 84 of file MyBlockOrientation.cs.

override int VRageMath.MyBlockOrientation.GetHashCode ( )
inline

Definition at line 79 of file MyBlockOrientation.cs.

void VRageMath.MyBlockOrientation.GetMatrix ( out Matrix  result)
inline

Definition at line 68 of file MyBlockOrientation.cs.

void VRageMath.MyBlockOrientation.GetQuaternion ( out Quaternion  result)
inline

Definition at line 58 of file MyBlockOrientation.cs.

static bool VRageMath.MyBlockOrientation.operator!= ( MyBlockOrientation  orientation1,
MyBlockOrientation  orientation2 
)
inlinestatic

Definition at line 145 of file MyBlockOrientation.cs.

static bool VRageMath.MyBlockOrientation.operator== ( MyBlockOrientation  orientation1,
MyBlockOrientation  orientation2 
)
inlinestatic

Definition at line 140 of file MyBlockOrientation.cs.

override string VRageMath.MyBlockOrientation.ToString ( )
inline

Definition at line 96 of file MyBlockOrientation.cs.

Base6Directions.Direction VRageMath.MyBlockOrientation.TransformDirection ( Base6Directions.Direction  baseDirection)
inline

Returns the direction baseDirection will point to after transformation

Definition at line 104 of file MyBlockOrientation.cs.

Base6Directions.Direction VRageMath.MyBlockOrientation.TransformDirectionInverse ( Base6Directions.Direction  baseDirection)
inline

Returns the direction that this orientation transforms to baseDirection

Definition at line 124 of file MyBlockOrientation.cs.

Member Data Documentation

Base6Directions.Direction VRageMath.MyBlockOrientation.Forward

Definition at line 16 of file MyBlockOrientation.cs.

readonly MyBlockOrientation VRageMath.MyBlockOrientation.Identity = new MyBlockOrientation(Base6Directions.Direction.Forward, Base6Directions.Direction.Up)
static

Definition at line 13 of file MyBlockOrientation.cs.

Base6Directions.Direction VRageMath.MyBlockOrientation.Up

Definition at line 19 of file MyBlockOrientation.cs.

Property Documentation

bool VRageMath.MyBlockOrientation.IsValid
get

Definition at line 30 of file MyBlockOrientation.cs.

Base6Directions.Direction VRageMath.MyBlockOrientation.Left
get

Definition at line 22 of file MyBlockOrientation.cs.


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