Property | Type | Description | |
---|---|---|---|
bodyRoot | |||
bodyRootPosition | Vector3 | ||
boneIndex2JointMap | KinectInterop.JointType>.Dictionary | ||
boneIndex2MirrorJointMap | KinectInterop.JointType>.Dictionary | ||
bones | UnityEngine.Transform[] | ||
initialPosition | Vector3 | ||
initialRotation | |||
initialRotations | UnityEngine.Quaternion[] | ||
isRigidBody | bool | ||
jointMap2boneIndex | int>.Dictionary | ||
kinectManager | |||
mirrorJointMap2boneIndex | int>.Dictionary | ||
offsetCalibrated | bool | ||
offsetNodePos | Vector3 | ||
offsetNodeRot | |||
specIndex2JointMap | List | ||
specIndex2MirrorJointMap | List | ||
xOffset | float |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
GetBoneIndexByJoint ( |
||
GetBoneTransform ( int index ) : |
||
GetBoneTransformCount ( ) : int | ||
ResetToInitialPosition ( ) : void | ||
SuccessfulCalibration ( System.Int64 userId ) : void | ||
UpdateAvatar ( System.Int64 UserID ) : void |
Method | Description | |
---|---|---|
GetInitialRotations ( ) : void | ||
Kinect2AvatarPos ( Vector3 jointPosition, bool bMoveVertically ) : Vector3 | ||
Kinect2AvatarRot ( |
||
MapBones ( ) : void | ||
MoveAvatar ( System.Int64 UserID ) : void | ||
SetModelArmsInTpose ( ) : void | ||
TransformBone ( System.Int64 userId, |
||
TransformSpecialBone ( System.Int64 userId, |
public GetBoneIndexByJoint ( |
||
joint | ||
bMirrored | bool | |
return | int |
public GetBoneTransform ( int index ) : |
||
index | int | |
return |
protected Kinect2AvatarPos ( Vector3 jointPosition, bool bMoveVertically ) : Vector3 | ||
jointPosition | Vector3 | |
bMoveVertically | bool | |
return | Vector3 |
protected Kinect2AvatarRot ( |
||
jointRotation | ||
boneIndex | int | |
return |
protected MoveAvatar ( System.Int64 UserID ) : void | ||
UserID | System.Int64 | |
return | void |
public SuccessfulCalibration ( System.Int64 userId ) : void | ||
userId | System.Int64 | |
return | void |
protected TransformBone ( System.Int64 userId, |
||
userId | System.Int64 | |
joint | ||
boneIndex | int | |
flip | bool | |
return | void |
protected TransformSpecialBone ( System.Int64 userId, |
||
userId | System.Int64 | |
joint | ||
jointParent | ||
boneIndex | int | |
baseDir | Vector3 | |
flip | bool | |
return | void |
public UpdateAvatar ( System.Int64 UserID ) : void | ||
UserID | System.Int64 | |
return | void |
protected Transform,UnityEngine bodyRoot | ||
return |
protected Dictionary |
||
return | KinectInterop.JointType>.Dictionary |
protected Dictionary |
||
return | KinectInterop.JointType>.Dictionary |
protected Quaternion,UnityEngine initialRotation | ||
return |
protected Quaternion[],UnityEngine initialRotations | ||
return | UnityEngine.Quaternion[] |
protected Dictionary |
||
return | int>.Dictionary |
protected KinectManager,Kinect kinectManager | ||
return |
protected Dictionary |
||
return | int>.Dictionary |
protected Quaternion,UnityEngine offsetNodeRot | ||
return |
protected Dictionary |
||
return | List |
protected Dictionary |
||
return | List |