ID3DXKeyframedAnimationSet::GetTranslationKey method
Get translation information for a specific key frame in the animation set.
Syntax
HRESULT GetTranslationKey(
[in] UINT Animation,
[in] UINT Key,
[out] LPD3DXKEY_VECTOR3 pTranslationKey
);
Parameters
-
Animation [in]
-
Type: UINT
Animation index.
-
Key [in]
-
Type: UINT
Key Frame.
-
pTranslationKey [out]
-
Type: LPD3DXKEY_VECTOR3
Pointer to the rotation information. See D3DXKEY_VECTOR3.
Return value
Type: HRESULT
If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DERR_INVALIDCALL.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for