共用方式為


CAnimationVariable::SetParentAnimationObject

Sets the relationship between an animation variable and an animation object.

void SetParentAnimationObject(
   CAnimationBaseObject* pParentObject
);

Parameters

  • pParentObject
    A pointer to an animation object that contains this variable.

Remarks

This method is called internally to establish one-to-one relationship between an animation variable and an animation object that encapsulates it.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationVariable Class