ホーム › UI.Animation › IUIAnimationManager
IUIAnimationManager
COMメソッド 19
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT CreateAnimationVariable(DOUBLE initialValue, IUIAnimationVariable** variable)
| initialValue | DOUBLE | in | アニメーション変数の初期値を指定する。 |
| variable | IUIAnimationVariable** | out | 生成されたアニメーション変数を受け取るポインタである。 |
vtbl 4 HRESULT ScheduleTransition(IUIAnimationVariable* variable, IUIAnimationTransition* transition, DOUBLE timeNow)
| variable | IUIAnimationVariable* | in | 遷移を適用する対象のアニメーション変数を指定する。 |
| transition | IUIAnimationTransition* | in | 適用するトランジションを指定する。 |
| timeNow | DOUBLE | in | 現在時刻を秒単位で指定する。 |
vtbl 5 HRESULT CreateStoryboard(IUIAnimationStoryboard** storyboard)
| storyboard | IUIAnimationStoryboard** | out | 生成されたストーリーボードを受け取るポインタである。 |
| completionDeadline | DOUBLE | in | すべてのストーリーボードを完了させるまでの猶予時間を秒単位で指定する。 |
vtbl 7 HRESULT AbandonAllStoryboards()
vtbl 8 HRESULT Update(DOUBLE timeNow, UI_ANIMATION_UPDATE_RESULT* updateResult)
| timeNow | DOUBLE | in | 現在時刻を秒単位で指定する。 |
| updateResult | UI_ANIMATION_UPDATE_RESULT* | outoptional | 更新により変数値が変化したかどうかを表す結果を受け取るポインタである。 |
vtbl 9 HRESULT GetVariableFromTag(IUnknown* object, DWORD id, IUIAnimationVariable** variable)
| object | IUnknown* | inoptional | 検索対象のタグに関連付けられたオブジェクトを指定する。NULL も指定できる。 |
| id | DWORD | in | 検索対象のタグの数値 ID を指定する。 |
| variable | IUIAnimationVariable** | out | タグに一致するアニメーション変数を受け取るポインタである。 |
vtbl 10 HRESULT GetStoryboardFromTag(IUnknown* object, DWORD id, IUIAnimationStoryboard** storyboard)
| object | IUnknown* | inoptional | 検索対象のタグに関連付けられたオブジェクトを指定する。NULL も指定できる。 |
| id | DWORD | in | 検索対象のタグの数値 ID を指定する。 |
| storyboard | IUIAnimationStoryboard** | out | タグに一致するストーリーボードを受け取るポインタである。 |
vtbl 11 HRESULT GetStatus(UI_ANIMATION_MANAGER_STATUS* status)
| status | UI_ANIMATION_MANAGER_STATUS* | out | アニメーションマネージャーの現在の状態を受け取るポインタである。 |
vtbl 12 HRESULT SetAnimationMode(UI_ANIMATION_MODE mode)
| mode | UI_ANIMATION_MODE | in | アニメーションの有効・無効を制御するモードを指定する。 |
vtbl 13 HRESULT Pause()
vtbl 14 HRESULT Resume()
vtbl 15 HRESULT SetManagerEventHandler(IUIAnimationManagerEventHandler* handler)
| handler | IUIAnimationManagerEventHandler* | inoptional | マネージャーの状態変化を受け取るイベントハンドラーを指定する。NULL でハンドラーを解除する。 |
vtbl 16 HRESULT SetCancelPriorityComparison(IUIAnimationPriorityComparison* comparison)
| comparison | IUIAnimationPriorityComparison* | inoptional | ストーリーボードのキャンセル優先度を判定する比較オブジェクトを指定する。NULL も指定できる。 |
vtbl 17 HRESULT SetTrimPriorityComparison(IUIAnimationPriorityComparison* comparison)
| comparison | IUIAnimationPriorityComparison* | inoptional | ストーリーボードのトリム優先度を判定する比較オブジェクトを指定する。NULL も指定できる。 |
vtbl 18 HRESULT SetCompressPriorityComparison(IUIAnimationPriorityComparison* comparison)
| comparison | IUIAnimationPriorityComparison* | inoptional | ストーリーボードの圧縮優先度を判定する比較オブジェクトを指定する。NULL も指定できる。 |
vtbl 19 HRESULT SetConcludePriorityComparison(IUIAnimationPriorityComparison* comparison)
| comparison | IUIAnimationPriorityComparison* | inoptional | ストーリーボードの終結優先度を判定する比較オブジェクトを指定する。NULL も指定できる。 |
| delay | DOUBLE | in | 許容できる最長の遅延時間の既定値を秒単位で指定する。 |
vtbl 21 HRESULT Shutdown()
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IUIAnimationManager "{9169896C-AC8D-4E7D-94E5-67FA4DC2F2E8}" #usecom global IUIAnimationManager IID_IUIAnimationManager "{4C1FC63A-695C-47E8-A339-1A194BE3D0B8}" #comfunc global IUIAnimationManager_CreateAnimationVariable 3 double,sptr #comfunc global IUIAnimationManager_ScheduleTransition 4 sptr,sptr,double #comfunc global IUIAnimationManager_CreateStoryboard 5 sptr #comfunc global IUIAnimationManager_FinishAllStoryboards 6 double #comfunc global IUIAnimationManager_AbandonAllStoryboards 7 #comfunc global IUIAnimationManager_Update 8 double,var #comfunc global IUIAnimationManager_GetVariableFromTag 9 sptr,int,sptr #comfunc global IUIAnimationManager_GetStoryboardFromTag 10 sptr,int,sptr #comfunc global IUIAnimationManager_GetStatus 11 var #comfunc global IUIAnimationManager_SetAnimationMode 12 int #comfunc global IUIAnimationManager_Pause 13 #comfunc global IUIAnimationManager_Resume 14 #comfunc global IUIAnimationManager_SetManagerEventHandler 15 sptr #comfunc global IUIAnimationManager_SetCancelPriorityComparison 16 sptr #comfunc global IUIAnimationManager_SetTrimPriorityComparison 17 sptr #comfunc global IUIAnimationManager_SetCompressPriorityComparison 18 sptr #comfunc global IUIAnimationManager_SetConcludePriorityComparison 19 sptr #comfunc global IUIAnimationManager_SetDefaultLongestAcceptableDelay 20 double #comfunc global IUIAnimationManager_Shutdown 21 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IUIAnimationManager "{9169896C-AC8D-4E7D-94E5-67FA4DC2F2E8}" #usecom global IUIAnimationManager IID_IUIAnimationManager "{4C1FC63A-695C-47E8-A339-1A194BE3D0B8}" #comfunc global IUIAnimationManager_CreateAnimationVariable 3 double,sptr #comfunc global IUIAnimationManager_ScheduleTransition 4 sptr,sptr,double #comfunc global IUIAnimationManager_CreateStoryboard 5 sptr #comfunc global IUIAnimationManager_FinishAllStoryboards 6 double #comfunc global IUIAnimationManager_AbandonAllStoryboards 7 #comfunc global IUIAnimationManager_Update 8 double,sptr #comfunc global IUIAnimationManager_GetVariableFromTag 9 sptr,int,sptr #comfunc global IUIAnimationManager_GetStoryboardFromTag 10 sptr,int,sptr #comfunc global IUIAnimationManager_GetStatus 11 sptr #comfunc global IUIAnimationManager_SetAnimationMode 12 int #comfunc global IUIAnimationManager_Pause 13 #comfunc global IUIAnimationManager_Resume 14 #comfunc global IUIAnimationManager_SetManagerEventHandler 15 sptr #comfunc global IUIAnimationManager_SetCancelPriorityComparison 16 sptr #comfunc global IUIAnimationManager_SetTrimPriorityComparison 17 sptr #comfunc global IUIAnimationManager_SetCompressPriorityComparison 18 sptr #comfunc global IUIAnimationManager_SetConcludePriorityComparison 19 sptr #comfunc global IUIAnimationManager_SetDefaultLongestAcceptableDelay 20 double #comfunc global IUIAnimationManager_Shutdown 21 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。