C# Class OptitrackRigidBodyManager, MotiveToUnity

Inheritance: MonoBehaviour
Datei anzeigen Open project: galakhov/MotiveToUnity Class Usage Examples

Public Properties

Property Type Description
origin Transform

Public Methods

Method Description
Awake ( ) : void
OnPacketReceived ( object sender, string Packet ) : void
Start ( ) : void
getRigidBodyIndByName ( string RB_Name ) : int
getRigidBodyPosByInd ( int ind ) : Vector3
getRigidBodyRotByInd ( int ind ) : Quaternion
getSkeletonRigidbodyOrientation ( int skeletonID, int boneID ) : Quaternion
getSkeletonRigidbodyPos ( int skeletonID, int boneID ) : Vector3

Method Details

Awake() public method

public Awake ( ) : void
return void

OnPacketReceived() public method

public OnPacketReceived ( object sender, string Packet ) : void
sender object
Packet string
return void

Start() public method

public Start ( ) : void
return void

getRigidBodyIndByName() public method

public getRigidBodyIndByName ( string RB_Name ) : int
RB_Name string
return int

getRigidBodyPosByInd() public method

public getRigidBodyPosByInd ( int ind ) : Vector3
ind int
return Vector3

getRigidBodyRotByInd() public method

public getRigidBodyRotByInd ( int ind ) : Quaternion
ind int
return Quaternion

getSkeletonRigidbodyOrientation() public method

public getSkeletonRigidbodyOrientation ( int skeletonID, int boneID ) : Quaternion
skeletonID int
boneID int
return Quaternion

getSkeletonRigidbodyPos() public method

public getSkeletonRigidbodyPos ( int skeletonID, int boneID ) : Vector3
skeletonID int
boneID int
return Vector3

Property Details

origin public_oe property

public Transform origin
return Transform