nw::lyt::Layout::CreateAnimTransform Member Function

Syntax

virtual AnimTransform * CreateAnimTransform(
     const void * animResBuf,
     ResourceAccessor * pResAcsr
);

Arguments

Name Description
animResBuf Pointer to the animation resource.
pResAcsr A pointer to the resource accessor.

Return Values

Returns a pointer to animation when its creation succeeds. Otherwise returns NULL.

Description

Creates an animation.

Creates an animation object and binds the specified resource. Fails if the resource format is invalid.

Use BindAnimationAuto when shared animation data is included in the animation resource.

See Also

BindAnimationAuto

Revision History

2009/09/18
Initial version.

CONFIDENTIAL