Re: FCurve.AddKey()

Date : Fri, 31 Aug 2007 15:28:30 +0100
To : XSI(at)Softimage.COM
From : "Alan Jones" <skyphyr(at)gmail.com>
Subject : Re: FCurve.AddKey()
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


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.