Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiEmitterShapeSphere Class Reference
Inheritance diagram for Obi.ObiEmitterShapeSphere:
Obi.ObiEmitterShape

Public Types

enum  SamplingMethod { SamplingMethod.SURFACE, SamplingMethod.VOLUME }
 

Public Member Functions

void OnValidate ()
 
override void GenerateDistribution ()
 
- Public Member Functions inherited from Obi.ObiEmitterShape
void OnEnable ()
 
void OnDisable ()
 
void UpdateLocalToSolverMatrix ()
 

Public Attributes

SamplingMethod samplingMethod = SamplingMethod.VOLUME
 
float radius = 0.5f
 
- Public Attributes inherited from Obi.ObiEmitterShape
Color color = Color.white
 
float particleSize = 0
 
List< DistributionPointdistribution = new List<DistributionPoint>()
 

Additional Inherited Members

- Protected Attributes inherited from Obi.ObiEmitterShape
ObiEmitter emitter
 
Matrix4x4 l2sTransform
 
- Properties inherited from Obi.ObiEmitterShape
ObiEmitter Emitter [get, set]
 
Matrix4x4 ShapeLocalToSolverMatrix [get]
 

Member Enumeration Documentation

Enumerator
SURFACE 

distributes particles in the surface of the object.

VOLUME 

distributes particles in the volume of the object.


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