Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Creates a ID3DXKeyframedAnimationSet key framed animation set interface.
Syntax
HRESULT D3DXCreateKeyframedAnimationSet(
_In_ LPCSTR pName,
_In_ DOUBLE TicksPerSecond,
_In_ D3DXPLAYBACK_TYPE Playback,
_In_ UINT NumAnimations,
_In_ UINT NumCallbackKeys,
_In_ const LPD3DXKEY_CALLBACK *pCallKeys,
_Out_ LPD3DXKEYFRAMEDANIMATIONSET *ppAnimationSet
);
Parameters
-
pName [in]
-
Type: LPCSTR
Pointer to the name of the animation set.
-
TicksPerSecond [in]
-
Type: DOUBLE
Number of key frame ticks that elapse per second.
-
Playback [in]
-
Type: D3DXPLAYBACK_TYPE
Type of the animation set playback loop. See D3DXPLAYBACK_TYPE.
-
NumAnimations [in]
-
Type: UINT
Number of scale, rotate, and translate (SRT) animation sets.
-
NumCallbackKeys [in]
-
Type: UINT
Number of callback keys.
-
pCallKeys [in]
-
Type: const LPD3DXKEY_CALLBACK*
Pointer to a D3DXKEY_CALLBACK structure that stores user callback data.
-
ppAnimationSet [out]
-
Type: LPD3DXKEYFRAMEDANIMATIONSET*
Address of a pointer to the ID3DXKeyframedAnimationSet key framed animation set interface.
Return value
Type: HRESULT
If the function succeeds, the return value is S_OK. If the function fails, the return value can be one of the following values: D3DERR_INVALIDCALL, E_OUTOFMEMORY.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also