SetKeys (FCurve)
Description
Sets new keys on the fcurve. If there were already keys set on the fcurve, they are discarded.
Scripting Syntax
FCurve.SetKeys( Keys )
C# Syntax
FCurve.SetKeys( Object in_vsaKeys );Parameters
|
Parameter |
Type |
Description |
|
Keys |
The Array can be a 1- or 2- dimensional array. For a 2-dimensional array the first dimension contains the key/value pairs. The key value must be in frames. |
Examples
VBScript Example
' ' This VBScript example demonstrates how to set keys on an fcurve ' set oNull = ActiveSceneRoot.AddNull() set oFCurve = oNull.posx.AddFCurve() oFCurve.SetKeys( Array( 1, 10, 2, 20, 3, 30 ) )
Autodesk Softimage v7.5