nw::demo::Utility::BindAnimationBlender Member Function

Syntax

template <typename TAnimObject>
static TAnimObject * BindAnimationBlender(
     os::IAllocator * allocator,
     nw::gfx::SceneObject * object,
     int maxAnimObjects,
     AnimationType animationType
);

Template Arguments

Name Description
TAnimObject Animation object class to generate.

Arguments

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.

Return Values

Returns the generated animation blender object.

Description

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.

See Also

BindAnimation
BindAnimationByName


CONFIDENTIAL