共用方式為


CBaseTransition::SetRelatedVariable

Establishes a relationship between animation variable and transition.

void SetRelatedVariable(
   CAnimationVariable* pVariable
);

Parameters

  • pVariable
    A pointer to related animation variable.

Remarks

Establishes a relationship between animation variable and transition. A transition can be applied only to one variable.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CBaseTransition Class