CAnimationBaseObject::SetParentAnimationObjects
建立動畫變數 (包含在動畫物件中) 和其容器之間的關聯性。
virtual void SetParentAnimationObjects();
備註
這是用來建立動畫變數 (包含在動畫物件中) 和其容器之間關聯性的協助程式。 它會對動畫變數進行迴圈,並將父動畫物件的返回指標設定給每個動畫變數。 在目前的實作中,實際的關聯性會在 CAnimationBaseObject::ApplyTransitions 中建立,因此在呼叫 CAnimationGroup::Animate 以前都不會設定返回指標。 當您處理事件,並且需要從 CAnimationVariable 取得父動畫物件 (使用 CAnimationVariable::GetParentAnimationObject) 時,了解關聯性可能會有幫助。
需求
**標頭檔:**afxanimationcontroller.h