Evaluates and returns the value of the fcurve at a given frame.
oReturn = EvalFCurve( InputObj, Time ); |
Returns the value of the function curve at the given frame.
Parameter | Type | Description |
---|---|---|
InputObj | String | List of parameters
Default Value: Currently selected and marked parameter |
Time | Double | Function curves are evaluated at this frame.
Default Value: Current frame |
Dim obj, myFrame, myValue set obj = CreatePrim( "Grid", "MeshSurface" ) myValue = 1 myFrame = 1 SetValue obj & ".kine.local.pos.posx", myValue, myFrame SaveKey obj & "/kine.local.pos", myFrame myValue = 3 myFrame = 3 SetValue obj & ".kine.local.pos.posx", myValue, myFrame SaveKey obj & "/kine.local.pos", myFrame myFrame = 2 myValue = EvalFCurve("Grid.kine.local.posx", myFrame) logmessage "value = " & myValue & " at time = " & myFrame |