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.TrailParticleInfo Struct Reference

The trail particle info struct contains data about particles to be read by a Playground Trail. More...

Public Member Functions

 TrailParticleInfo (int particleId, Vector3 position, Vector3 velocity)
 Initializes a new instance of the ParticlePlayground.TrailParticleInfo struct. More...
 

Public Attributes

int particleId
 The particle identifier linearly towards the particle system's cached particles. More...
 
Vector3 position
 The position of this trail particle. More...
 
Vector3 velocity
 The velocity of this trail particle. More...
 

Detailed Description

The trail particle info struct contains data about particles to be read by a Playground Trail.

Constructor & Destructor Documentation

ParticlePlayground.TrailParticleInfo.TrailParticleInfo ( int  particleId,
Vector3  position,
Vector3  velocity 
)

Initializes a new instance of the ParticlePlayground.TrailParticleInfo struct.

Parameters
particleIdParticle identifier.
positionParticle position.
velocityParticle velocity.

Member Data Documentation

int ParticlePlayground.TrailParticleInfo.particleId

The particle identifier linearly towards the particle system's cached particles.

Vector3 ParticlePlayground.TrailParticleInfo.position

The position of this trail particle.

Vector3 ParticlePlayground.TrailParticleInfo.velocity

The velocity of this trail particle.


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