C# Class AvatarController, ITP_OpenSourceAnimation

Inheritance: MonoBehaviour
Mostrar archivo Open project: n1ckfg/ITP_OpenSourceAnimation Class Usage Examples

Public Properties

Property Type Description
Active bool
Head Transform
Hips Transform
LeftElbow Transform
LeftFoot Transform
LeftHand Transform
LeftKnee Transform
LeftThigh Transform
LeftToes Transform
LeftUpperArm Transform
LeftWrist Transform
MirroredMovement bool
MoveRate int
MovesInSpace bool
Neck Transform
RightElbow Transform
RightFoot Transform
RightHand Transform
RightKnee Transform
RightThigh Transform
RightToes Transform
RightUpperArm Transform
RightWrist Transform
Root Transform
SmoothFactor float
Spine Transform
VerticalMovement bool
offsetNode GameObject

Public Methods

Method Description
GetInitialRotations ( ) : void
MapBones ( ) : void
MoveAvatar ( uint UserID ) : void
RotateToCalibrationPose ( uint userId, bool needCalibration ) : void
RotateToInitialPosition ( ) : void
Start ( ) : void
SuccessfulCalibration ( uint userId ) : void
TransformBone ( uint userId, KinectWrapper, joint, int boneIndex, bool flip ) : void
UpdateAvatar ( uint UserID, bool IsNearMode ) : void

Method Details

GetInitialRotations() public method

public GetInitialRotations ( ) : void
return void

MapBones() public method

public MapBones ( ) : void
return void

MoveAvatar() public method

public MoveAvatar ( uint UserID ) : void
UserID uint
return void

RotateToCalibrationPose() public method

public RotateToCalibrationPose ( uint userId, bool needCalibration ) : void
userId uint
needCalibration bool
return void

RotateToInitialPosition() public method

public RotateToInitialPosition ( ) : void
return void

Start() public method

public Start ( ) : void
return void

SuccessfulCalibration() public method

public SuccessfulCalibration ( uint userId ) : void
userId uint
return void

TransformBone() public method

public TransformBone ( uint userId, KinectWrapper, joint, int boneIndex, bool flip ) : void
userId uint
joint KinectWrapper,
boneIndex int
flip bool
return void

UpdateAvatar() public method

public UpdateAvatar ( uint UserID, bool IsNearMode ) : void
UserID uint
IsNearMode bool
return void

Property Details

Active public_oe property

public bool Active
return bool

Head public_oe property

public Transform Head
return Transform

Hips public_oe property

public Transform Hips
return Transform

LeftElbow public_oe property

public Transform LeftElbow
return Transform

LeftFoot public_oe property

public Transform LeftFoot
return Transform

LeftHand public_oe property

public Transform LeftHand
return Transform

LeftKnee public_oe property

public Transform LeftKnee
return Transform

LeftThigh public_oe property

public Transform LeftThigh
return Transform

LeftToes public_oe property

public Transform LeftToes
return Transform

LeftUpperArm public_oe property

public Transform LeftUpperArm
return Transform

LeftWrist public_oe property

public Transform LeftWrist
return Transform

MirroredMovement public_oe property

public bool MirroredMovement
return bool

MoveRate public_oe property

public int MoveRate
return int

MovesInSpace public_oe property

public bool MovesInSpace
return bool

Neck public_oe property

public Transform Neck
return Transform

RightElbow public_oe property

public Transform RightElbow
return Transform

RightFoot public_oe property

public Transform RightFoot
return Transform

RightHand public_oe property

public Transform RightHand
return Transform

RightKnee public_oe property

public Transform RightKnee
return Transform

RightThigh public_oe property

public Transform RightThigh
return Transform

RightToes public_oe property

public Transform RightToes
return Transform

RightUpperArm public_oe property

public Transform RightUpperArm
return Transform

RightWrist public_oe property

public Transform RightWrist
return Transform

Root public_oe property

public Transform Root
return Transform

SmoothFactor public_oe property

public float SmoothFactor
return float

Spine public_oe property

public Transform Spine
return Transform

VerticalMovement public_oe property

public bool VerticalMovement
return bool

offsetNode public_oe property

public GameObject offsetNode
return GameObject