Re: GetAnimationSet
- From: Robert <watkinsdev@xxxxxxxxxxx>
- Date: Sun, 2 Aug 2009 08:01:06 -0700 (PDT)
On 1 Aug, 05:51, legalize+jee...@xxxxxxxxxxxxxxxxx (Richard [Microsoft
Direct3D MVP]) wrote:
[Please do not mail me a copy of your followup]
Robert <watkins...@xxxxxxxxxxx> spake the secret code
<66991025-b421-47c6-a6b7-bde57fbe9...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> thusly:
Does this syntax look Ok or is it 'On the wonk'?
ID3DXAnimationSet* animation_Ptr;
animation_Ptr = (ID3DXAnimationSet*)&pani;
This line does nothing. animation_Ptr is going to be written over by
GetAnimationSet.
animator.ppAnimController->GetAnimationSet(0, &animation_Ptr );
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Legalize Adulthood! <http://legalizeadulthood.wordpress.com>
I figured that after the original post and then removed the post.But
the question still remains.
If I use (syntax from memory)
LP3DXKeyFramededAnimationSet anim;
anim->Getanimationset(0, myanimationketset )
Then i get the error cannot convert from animationset to
keyframeanimationset;
The two objects being, interfaces, so I cannot change the cast.
(syntax from memory)
but something like
ID_3danimationset* set;
ID_3dkeyframeanimationset * mykeyframeset;
set->
and I kind of reach a dead end?
the strange thing is tha tLP3DXKeyFramededAnimationSet anim;
has the specifuc function ->Getanimationset(0, myanimationketset );
hmm, not quite sure where to go with this one?
.
- References:
- Re: GetAnimationSet
- From: Richard [Microsoft Direct3D MVP]
- Re: GetAnimationSet
- Prev by Date: Re: How to load an LPCWSTR string?
- Next by Date: Re: directx vertex buffer
- Previous by thread: Re: GetAnimationSet
- Next by thread: Re: GetAnimationSet - with key framed animation set
- Index(es):
Relevant Pages
|