Skip to main content

IPoseLayer

Used to affect avatar's bone rotations and positions

Namespace: VNyanInterface

Methods​

doUpdate​

Perform updates

doUpdate(ref PoseLayerFrame frame)
ParameterTypeDescription
framePoseLayerFrame (by reference)Contains current bone rotations and positions

getBonePosition​

Return bone position for given bone index

getBonePosition(int i)
ParameterTypeDescription
iintIndex of Unity bone

Returns: Bone local position

getBoneRotation​

Return bone rotation for given bone index

getBoneRotation(int i)
ParameterTypeDescription
iintIndex 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)
ParameterTypeDescription
iintIndex 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