virtual void SetResource(
const res::AnimationBlock * pRes,
ResourceAccessor * pResAccessor,
u16 animNum
) = 0;
| Name | Description | |
|---|---|---|
| pRes | Pointer to the resource animation block. | |
| pResAccessor | Resource accessor. | |
| animNum | The number of AnimationLinks to be allocated. |
Sets the resource used by the animation.
Sets the resources required by the animation block data and resource accessor to be bound to the animation using the Bind function.
It also allocate memory for the number of AnimationLinks specified by animNum that are required by the Bind function.
AnimationLink is required for each animation target (pane or material) being bound.
In the implementation of this function, animation block data must be registered using the SetAnimResource function.
CONFIDENTIAL