3D Lingo Dictionary > T-Z > tweenMode |
![]() ![]() ![]() |
tweenMode
Syntax
member(whichCastmember
).modelResource(whichModelResource
). tweenModemodelResourceObjectReference
.tweenMode
Description
3D particle property; allows you to get or set whether the color of a particle varies according to it's speed or age. The tweenMode
property can have the following values:
![]() |
|
![]() |
|
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement sets the ThermoSystem's tweenMode to #velocity, so its slower particles will not reach the color specified by colorRange.end, while its faster particles will.
member(8,2).modelResource("thermoSystem").tweenMode = #velocitytype (light)
![]() ![]() ![]() |