Particle Playground - Script Reference  3.0.1
Framework for controlling particles in the Unity Engine.
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
ParticlePlayground.TrailPoint Class Reference

Public Member Functions

 TrailPoint (Vector3 position, float startLifetime)
 
 TrailPoint (Vector3 position, float startLifetime, float width)
 
 TrailPoint (Vector3 position, Vector3 velocity, float startLifetime, float width)
 
void Update (float deltaTime, float width)
 
float GetNormalizedLifetime ()
 Gets the normalized lifetime of this trail point. More...
 
bool CanRemove ()
 Determines whether this point can be removed. More...
 

Public Attributes

Vector3 position
 
Vector3 velocity
 
float lifetime
 
float startLifetime
 
float width
 

Member Function Documentation

bool ParticlePlayground.TrailPoint.CanRemove ( )

Determines whether this point can be removed.

Returns
true if this point can be removed; otherwise, false.
float ParticlePlayground.TrailPoint.GetNormalizedLifetime ( )

Gets the normalized lifetime of this trail point.

Returns
The normalized lifetime.

The documentation for this class was generated from the following file: