3D Lingo Dictionary > O-S > playRate |  |

playRate

Syntax

    member(whichCastmember).model(whichModel).bonesPlayer.playRate
    member(whichCastmember).model(whichModel).keyframePlayer.playRate

Description

3D `#keyframePlayer` and `#bonesPlayer` modifier property; scale multiplier for the local time of motions being played. This property only partially determines the speed at which motions are executed by the model.

The playback of a motion by a model is the result of either a `play()` or `queue()` command. The `scale` parameter of the `play()` or `queue()` command is multiplied by the modifier's `playRate` property, and the resulting value is the speed at which the particular motion will be played back.

Example

This statement sets the `playRate` property of the `keyframePlayer` modifier for the model named GreenAlien to 3.

    member("newAliens").model("GreenAlien").keyframePlayer.playRate = 3

See also

`play()`, `queue()`, `playlist`, `currentTime`