hi all,can any one help me to get FCurve From Parameter in C++???...
i want to get the maximum Key Frame on FCurve....
Application app;
Selection selection( app.GetSelection() );
LONG lCount = selection.GetCount();
if (lCount == 1){
X3DObject obj(selection[0]);
Parameter posx( obj.GetParameter( L"posx" ) );
Parameter posy( obj.GetParameter( L"posy" ) );
Parameter posz( obj.GetParameter( L"posz" ) );
}
help:Get FCurve From Parameter....
Re: help:Get FCurve From Parameter....
Hello
try Parameter.GetSource()
try Parameter.GetSource()
Re: help:Get FCurve From Parameter....
I tried but did not succeed.Ahmidou wrote:Hello
try Parameter.GetSource()
Do you have another way?
Thanks...
Re: help:Get FCurve From Parameter....
FCurve Curve( param.GetSource()); is working for me and there is no other way....
Re: help:Get FCurve From Parameter....
how can i get the maximum key frame on FCurve???
Is this True???
CTime Frame(Curve.GetMaxKeyFrame());
Is this True???
CTime Frame(Curve.GetMaxKeyFrame());
Re: help:Get FCurve From Parameter....
Do you want the key with the highest value or the highest time?
GetMaxKeyFrame() give you a time, if you want a value use GetMaxKeyValue().
GetMaxKeyFrame() give you a time, if you want a value use GetMaxKeyValue().
Who is online
Users browsing this forum: No registered users and 49 guests