Property | Type | Description | |
---|---|---|---|
LimbWidth | float | ||
LimbsMaterial | Material | ||
LowerLimbWidth | float | ||
SpineOffset | Vector3 | ||
_id_ | int | ||
elbowDirection | Vector3 | ||
elbowScale | float | ||
footOffset | Vector3 | ||
globalScale | float | ||
handOffset | Vector3 | ||
headOffset | Vector3 | ||
hint | Vector3 | ||
kneeScale | float | ||
lineColor | Color | ||
lineDetail | int | ||
lowerArmLength | float | ||
maximumMidOffset | float | ||
minimumMidOffset | float | ||
mocapHeadset | Transform | ||
mocapLeftAnkle | Transform | ||
mocapLeftWrist | Transform | ||
mocapRightAnkle | Transform | ||
mocapRightWrist | Transform | ||
renderLines | bool | ||
showGizmos | bool | ||
snapHips | bool | ||
upperArmLength | float |
Method | Description | |
---|---|---|
Bind ( Transform mocap, Transform bone, Vector3 offset ) : void | ||
BindAvatarToMocap ( ) : void | ||
CheckForResize ( ) : void | ||
FindSkeletalParts ( ) : void | ||
IKArm ( Transform startJoint, Transform midJoint, Transform endJoint, float a, float b, bool rightArm ) : void | ||
OnDrawGizmos ( ) : void | ||
PositionBody ( ) : void | ||
RebuildLine ( GameObject g, Vector3 points, GameObject e ) : void | ||
ResizeAvatar ( ) : void | ||
ResizeAvatarWithID ( int id ) : void | ||
SolveHipsAndIK ( ) : void | ||
SolveSpineAndOthers ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
averageHeadHeight ( ) : void | ||
findHint ( Vector3 endEffectorPosition, bool right ) : Vector3 | ||
scaleConstants ( ) : void |
Method | Description | |
---|---|---|
SolveForHipsPosition ( ) : Vector3 | ||
SolveHipsIntersection ( Vector3 &hitPoint ) : bool | ||
b3 ( float t, float p0, float p1, float p2, float p3 ) : float | ||
b3p0 ( float t, float p ) : float | ||
b3p1 ( float t, float p ) : float | ||
b3p2 ( float t, float p ) : float | ||
b3p3 ( float t, float p ) : float | ||
dot ( float a, float b ) : float | ||
getPoints ( Vector3 points ) : Vector3[] | ||
interp ( Vector3 P, float t ) : Vector3 | ||
interpb3 ( Vector3 points, float t ) : Vector3 | ||
normalize ( float a ) : float[] |
public Bind ( Transform mocap, Transform bone, Vector3 offset ) : void | ||
mocap | Transform | |
bone | Transform | |
offset | Vector3 | |
return | void |
public IKArm ( Transform startJoint, Transform midJoint, Transform endJoint, float a, float b, bool rightArm ) : void | ||
startJoint | Transform | |
midJoint | Transform | |
endJoint | Transform | |
a | float | |
b | float | |
rightArm | bool | |
return | void |
public RebuildLine ( GameObject g, Vector3 points, GameObject e ) : void | ||
g | GameObject | |
points | Vector3 | |
e | GameObject | |
return | void |
public static ResizeAvatarWithID ( int id ) : void | ||
id | int | |
return | void |
public findHint ( Vector3 endEffectorPosition, bool right ) : Vector3 | ||
endEffectorPosition | Vector3 | |
right | bool | |
return | Vector3 |