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.WorldObject Class Reference

Holds information about a World object. More...

Inheritance diagram for ParticlePlayground.WorldObject:
ParticlePlayground.WorldObjectBaseC

Public Member Functions

void Initialize ()
 Initializes this WorldObject and prepares it for extracting the mesh data. More...
 
void Update ()
 Updates this WorldObject. More...
 
WorldObject Clone ()
 Returns a copy of this WorldObject. More...
 
- Public Member Functions inherited from ParticlePlayground.WorldObjectBaseC
void UpdateMatrix (bool isLocal)
 

Public Attributes

Renderer renderer
 
- Public Attributes inherited from ParticlePlayground.WorldObjectBaseC
GameObject gameObject
 The GameObject of this World Object. More...
 
Transform transform
 The Transform of this World Object. More...
 
Rigidbody rigidbody
 The Rigidbody of this World Object. More...
 
MeshFilter meshFilter
 The mesh filter of this World Object (will be null for skinned meshes). More...
 
Mesh mesh
 The mesh of this World Object. More...
 
Vector3[] vertexPositions
 The vertices of this World Object. More...
 
Vector3[] normals
 The normals of this World Object. More...
 
bool updateNormals = false
 Determines if normals should update. More...
 
int cachedId
 The id of this World Object (used to keep track when this object changes). More...
 
bool initialized = false
 Determines if this World Object is initialized. More...
 
Matrix4x4 transformMatrix = new Matrix4x4()
 The transform matrix of this World Object. All source positions is calculated based on this matrix. More...
 
ScaleMethod scaleMethod
 The scale method to use when updating the transform matrix. More...
 

Detailed Description

Holds information about a World object.

Member Function Documentation

WorldObject ParticlePlayground.WorldObject.Clone ( )

Returns a copy of this WorldObject.

void ParticlePlayground.WorldObject.Initialize ( )

Initializes this WorldObject and prepares it for extracting the mesh data.

void ParticlePlayground.WorldObject.Update ( )

Updates this WorldObject.


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