Hi Serguei,
The C++ one is declared differently.
LONG AddKey ( const CTime & in_frame,
const CValue & in_value,
siFCurveKeyInterpolation in_interp = siDefaultKeyInterpolation,
double in_ltx = DBL_MAX,
double in_lty = DBL_MAX,
double in_rtx = DBL_MAX,
double in_rty = DBL_MAX,
double in_tol = DBL_MAX,
bool in_okl = false
)
Cheers,
Alan.
On 8/31/07, Serguei Kalentchouk <serguei.kalentchouk(at)ubisoft.com> wrote:
> I'm a bit confused because the AddKey method looks like this:
> FCurve.AddKey( [Frame], [Value], [Tolerance], [Overwrite] )
> I'm not sure which method you are using?
>
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
> Of Alan Jones
> Sent: August 31, 2007 6:11 AM
> To: xsi(at)Softimage.COM
> Subject: FCurve.AddKey()
>
> Hi All,
>
> This line is not doing what I expected.
>
> newCurve.AddKey(0.0f, 0.0f, siDefaultKeyInterpolation, -0.5, 0, 0.3,
> 0.3);
>
> I imagined that the left and right handles were just time and value
> entries, but given the results I get - it seems not. I get just the
> same as if I'd just done newCurve.AddKey(0.0f, 0.0f);
>
> Thanks for any suggestions.
>
> Cheers,
>
> Alan.
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
> body:
> unsubscribe xsi
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi