| ParticleSystemTimeScaling Property |
Gets or sets the time scaling.
Namespace: DigitalRune.ParticlesAssembly: DigitalRune.Particles (in DigitalRune.Particles.dll) Version: 1.4.0.0 (1.4.1.14427)
Syntax [ContentSerializerAttribute(Optional = true)]
public float TimeScaling { get; set; }
<ContentSerializerAttribute(Optional := true)>
Public Property TimeScaling As Single
Get
Set
public:
[ContentSerializerAttribute(Optional = true)]
property float TimeScaling {
float get ();
void set (float value);
}
[<ContentSerializerAttribute(Optional = true)>]
member TimeScaling : float32 with get, set
Property Value
Type:
SingleThe time scaling. The default value is 1.
Remarks TimeScaling is a factor that is used to scale the
deltaTime in
Update(TimeSpan). If
TimeScaling is larger than 1, the particle system
will advance faster. If
TimeScaling is less than 1, the particle system
advances in slow-motion. If
TimeScaling is 0, the particle system is paused.
The particle system behavior is undefined if the value is negative. (Some particle system
might support a negative
TimeScaling to simulate backwards in time.)
See Also