nw::anim::AnimFrameController::SetUserData Member Function
void SetUserData(
void *userData
);
| Name | Description | |
|---|---|---|
| in | userData | The user data to set. |
Sets the user data.
The user data is passed to the function set by SetPlayPolicy(). If a user-defined function is set, user data can be accessed from within the function. Practical uses include setting a flag once animation playback has ended.
CONFIDENTIAL