Win32 API 日本語リファレンス
ホームGraphics.DirectComposition › IDCompositionRotateTransform3D

IDCompositionRotateTransform3D

COM
IIDd8f5b23f-d429-4a91-b55a-d2f45fd75b18継承元IDCompositionTransform3D自前メソッド開始 vtbl3

メソッド 14

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT SetAngle(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in回転角度を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 4 HRESULT SetAngle(FLOAT angle)
angleFLOATin回転軸まわりの回転角度。度数法(degree)で指定する浮動小数点値である。
vtbl 5 HRESULT SetAxisX(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in回転軸ベクトルのX成分を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 6 HRESULT SetAxisX(FLOAT axisX)
axisXFLOATin回転軸を表すベクトルのX成分。回転軸の方向を定める浮動小数点値である。
vtbl 7 HRESULT SetAxisY(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in回転軸ベクトルのY成分を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 8 HRESULT SetAxisY(FLOAT axisY)
axisYFLOATin回転軸を表すベクトルのY成分。回転軸の方向を定める浮動小数点値である。
vtbl 9 HRESULT SetAxisZ(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in回転軸ベクトルのZ成分を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 10 HRESULT SetAxisZ(FLOAT axisZ)
axisZFLOATin回転軸を表すベクトルのZ成分。回転軸の方向を定める浮動小数点値である。
vtbl 11 HRESULT SetCenterX(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in回転中心点のX座標を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 12 HRESULT SetCenterX(FLOAT centerX)
centerXFLOATin回転の中心点のX座標。原点からのDIP単位のオフセットを指定する。
vtbl 13 HRESULT SetCenterY(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in回転中心点のY座標を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 14 HRESULT SetCenterY(FLOAT centerY)
centerYFLOATin回転の中心点のY座標。原点からのDIP単位のオフセットを指定する。
vtbl 15 HRESULT SetCenterZ(IDCompositionAnimation* animation)
animationIDCompositionAnimation*in回転中心点のZ座標を時間変化させるアニメーションオブジェクト。NULL不可。
vtbl 16 HRESULT SetCenterZ(FLOAT centerZ)
centerZFLOATin回転の中心点のZ座標。原点からのDIP単位のオフセットを指定する。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

#define global IID_IDCompositionRotateTransform3D "{D8F5B23F-D429-4A91-B55A-D2F45FD75B18}"
#usecom global IDCompositionRotateTransform3D IID_IDCompositionRotateTransform3D "{}"
#comfunc global IDCompositionRotateTransform3D_SetAngle    3 sptr
#comfunc global IDCompositionRotateTransform3D_SetAngle    4 float
#comfunc global IDCompositionRotateTransform3D_SetAxisX    5 sptr
#comfunc global IDCompositionRotateTransform3D_SetAxisX    6 float
#comfunc global IDCompositionRotateTransform3D_SetAxisY    7 sptr
#comfunc global IDCompositionRotateTransform3D_SetAxisY    8 float
#comfunc global IDCompositionRotateTransform3D_SetAxisZ    9 sptr
#comfunc global IDCompositionRotateTransform3D_SetAxisZ    10 float
#comfunc global IDCompositionRotateTransform3D_SetCenterX  11 sptr
#comfunc global IDCompositionRotateTransform3D_SetCenterX  12 float
#comfunc global IDCompositionRotateTransform3D_SetCenterY  13 sptr
#comfunc global IDCompositionRotateTransform3D_SetCenterY  14 float
#comfunc global IDCompositionRotateTransform3D_SetCenterZ  15 sptr
#comfunc global IDCompositionRotateTransform3D_SetCenterZ  16 float
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。