Moves to the last key frame for the given parameters.
oDouble = LastKey( [InputObjs], [Time], [Layer] ); |
Returns the frame number of the last key frame as a Double. If there is no key then the following is returned: -1.#INF for C++, "-1.#INF" for VBScript and Number.NEGATIVE_INFINITY for JScript.
Parameter | Type | Description |
---|---|---|
InputObjs | String |
List of animatable parameters (for example "cone*/kine.local.pos"). Default Value: Currently selected and marked parameters |
Time | Number |
Not used. Default Value: Current frame |
Layer | Integer |
Animation layer Default Value: Current animation layer (-1) |