|
ProceduralPlanets
|
| void ProceduralPlanets.Planet.AnimateFloat | ( | string | _key, |
| float | _source, | ||
| float | _destination, | ||
| float | _duration, | ||
| float | _delay | ||
| ) |
Animates a float after a delay from a source value to a destination value over the time of duration.
Animating shader features is fast - animating procedural materials is slow!
It is not recommended to have PlanetManager Texture Detail set to any of the Progressive modes if you plan to animate non-shader based properties.
Refer to the ProceduralPlanets_Properties.PDF documentation for a full reference of property names. The reference also states if a property is a shader feature (fast to animate) or which procedural materials need to be rebuilt (slow).
| _key | The camelCase name of a property float - refer to the ProceduralPlanets_Properties.PDF documentation for a full reference of property names. |
| _source | Source float value. |
| _destination | Destination/Target float value. |
| _duration | Time it should take for the animation. |
| _delay | Delay after which the animation starts. |