useAfterPose
useAfterPose(
entity,callback):void
Calls callback each frame on the page right after the engine poses
entity’s model: once its clips, its one-shots, an avatar’s aim, grip
and humanoid rig have played, and before an avatar’s springs. Where a
look leans the root or turns a bone over the clips, as Unity’s
LateUpdate and Unreal’s Control Rig do. It works on a CharacterSpawn’s
model, a VRM avatar and an Entity’s animated model. A bone turned
through bone goes back to the clip’s pose before the next frame, so a
turn added each frame does not add up.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
callback |
AfterPoseCallback |
Returns
Section titled “Returns”void