IPoseLayer
Used to affect avatar's bone rotations and positions
Namespace: VNyanInterface
Methods
doUpdate
Perform updates
doUpdate(ref PoseLayerFrame frame)
| Parameter | Type | Description |
|---|---|---|
frame | PoseLayerFrame (by reference) | Contains current bone rotations and positions |
getBonePosition
Return bone position for given bone index
getBonePosition(int i)
| Parameter | Type | Description |
|---|---|---|
i | int | Index of Unity bone |
Returns: Bone local position
getBoneRotation
Return bone rotation for given bone index
getBoneRotation(int i)
| Parameter | Type | Description |
|---|---|---|
i | int | Index of Unity bone |
Returns: Bone local rotation
getBoneScaleMultiplier
Return bone scale multiplier for given bone index. Result for local bone scale will be bone local scale * bone scale multiplier
getBoneScaleMultiplier(int i)
| Parameter | Type | Description |
|---|---|---|
i | int | Index of Unity bone |
Returns: Bone scale multiplier
getRootPosition
Return root position
getRootPosition()
Returns: Root position
getRootRotation
Return root rotation
getRootRotation()
Returns: Root rotation
isActive
Is the layer active or not
isActive()
Returns: not documented