nw::demo::Utility::BindAnimationBlender Member Function
template <typename TAnimObject>
static TAnimObject * BindAnimationBlender(
os::IAllocator * allocator,
nw::gfx::SceneObject * object,
int maxAnimObjects,
AnimationType animationType
);
| Name | Description |
|---|---|
| TAnimObject | Animation object class to generate. |
| Name | Description | |
|---|---|---|
| in | allocator | Allocator to use for generation of animation objects. |
| in | object | Scene object. |
| in | maxAnimObjects |
Maximum number of animation objects for blender being generated. |
| in | animationType | The animation type. |
Binds an animation blender.
Creates an animation blender and binds it to the specified scene object.
The function fails and returns NULL if the specified type of animation group does not exist in the scene object, or if binding has failed.
CONFIDENTIAL