C# Class Common.GmUtil

Mostra file Open project: gamemachine/gamemachine

Public Properties

Property Type Description
Infinity Common.Vector3

Public Methods

Method Description
Base64Decode ( string base64EncodedData ) : string
Base64Encode ( string plainText ) : string
DebugRay ( Common.Vector3 origin, Common.Vector3 direction ) : void
DestroyChildren ( Common.Transform transform ) : void
Distance2d ( Common.Vector3 start, Common.Vector3 end ) : float
FloatToInt ( float i ) : int
GmVector3ToVector3 ( GmVector3 gmVector3 ) : Common.Vector3
IntToFloat ( int i ) : float
IsWindows ( ) : bool
QuaternionToTrackData ( Quaternion q, TrackData trackData ) : TrackData
QuaternionToUserDefinedData ( Quaternion q, UserDefinedData userdef ) : UserDefinedData
TrackdataDeltaToVector3 ( TrackData trackData, Common.Vector3 current ) : Common.Vector3
TrackdataToQuaternion ( TrackData trackData ) : Quaternion
TrackdataToVector3 ( TrackData trackData ) : Common.Vector3
UserDefinedDataToQuaternion ( UserDefinedData userdef ) : Quaternion
UserDefinedDataToVector3 ( UserDefinedData userdef ) : Common.Vector3
Vector3ToAgentTrackData ( Common.Vector3 vec, AgentTrackData agentTrackData ) : AgentTrackData
Vector3ToGmVector3 ( Common.Vector3 vec ) : GmVector3
Vector3ToTrackData ( Common.Vector3 vec, TrackData trackData ) : TrackData
Vector3ToUserDefinedData ( Common.Vector3 vec, UserDefinedData userdef ) : UserDefinedData

Method Details

Base64Decode() public static method

public static Base64Decode ( string base64EncodedData ) : string
base64EncodedData string
return string

Base64Encode() public static method

public static Base64Encode ( string plainText ) : string
plainText string
return string

DebugRay() public static method

public static DebugRay ( Common.Vector3 origin, Common.Vector3 direction ) : void
origin Common.Vector3
direction Common.Vector3
return void

DestroyChildren() public static method

public static DestroyChildren ( Common.Transform transform ) : void
transform Common.Transform
return void

Distance2d() public static method

public static Distance2d ( Common.Vector3 start, Common.Vector3 end ) : float
start Common.Vector3
end Common.Vector3
return float

FloatToInt() public static method

public static FloatToInt ( float i ) : int
i float
return int

GmVector3ToVector3() public static method

public static GmVector3ToVector3 ( GmVector3 gmVector3 ) : Common.Vector3
gmVector3 GmVector3
return Common.Vector3

IntToFloat() public static method

public static IntToFloat ( int i ) : float
i int
return float

IsWindows() public static method

public static IsWindows ( ) : bool
return bool

QuaternionToTrackData() public static method

public static QuaternionToTrackData ( Quaternion q, TrackData trackData ) : TrackData
q Quaternion
trackData TrackData
return TrackData

QuaternionToUserDefinedData() public static method

public static QuaternionToUserDefinedData ( Quaternion q, UserDefinedData userdef ) : UserDefinedData
q Quaternion
userdef UserDefinedData
return UserDefinedData

TrackdataDeltaToVector3() public static method

public static TrackdataDeltaToVector3 ( TrackData trackData, Common.Vector3 current ) : Common.Vector3
trackData TrackData
current Common.Vector3
return Common.Vector3

TrackdataToQuaternion() public static method

public static TrackdataToQuaternion ( TrackData trackData ) : Quaternion
trackData TrackData
return Quaternion

TrackdataToVector3() public static method

public static TrackdataToVector3 ( TrackData trackData ) : Common.Vector3
trackData TrackData
return Common.Vector3

UserDefinedDataToQuaternion() public static method

public static UserDefinedDataToQuaternion ( UserDefinedData userdef ) : Quaternion
userdef UserDefinedData
return Quaternion

UserDefinedDataToVector3() public static method

public static UserDefinedDataToVector3 ( UserDefinedData userdef ) : Common.Vector3
userdef UserDefinedData
return Common.Vector3

Vector3ToAgentTrackData() public static method

public static Vector3ToAgentTrackData ( Common.Vector3 vec, AgentTrackData agentTrackData ) : AgentTrackData
vec Common.Vector3
agentTrackData AgentTrackData
return AgentTrackData

Vector3ToGmVector3() public static method

public static Vector3ToGmVector3 ( Common.Vector3 vec ) : GmVector3
vec Common.Vector3
return GmVector3

Vector3ToTrackData() public static method

public static Vector3ToTrackData ( Common.Vector3 vec, TrackData trackData ) : TrackData
vec Common.Vector3
trackData TrackData
return TrackData

Vector3ToUserDefinedData() public static method

public static Vector3ToUserDefinedData ( Common.Vector3 vec, UserDefinedData userdef ) : UserDefinedData
vec Common.Vector3
userdef UserDefinedData
return UserDefinedData

Property Details

Infinity public_oe static_oe property

public static Vector3,Common Infinity
return Common.Vector3