Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiPlant.Meristem Class Reference

Public Types

enum  GrowthType { None = 0, Growing = 1 << 0, Tip = 1 << 1 }
 

Public Member Functions

 Meristem (int particleIndex, int generatorId, GrowthType growth, float length, float thickness, float availableGrowthTime)
 

Public Attributes

int particleIndex
 
int generatorId
 
float availableGrowthTime
 
float growthBoost
 
GrowthType growth
 
float length
 
float thickness
 
ObiList< ObiPathFramecurve
 

Member Data Documentation

float Obi.ObiPlant.Meristem.availableGrowthTime

Amount of time available for this meristem to grow.

ObiList<ObiPathFrame> Obi.ObiPlant.Meristem.curve

List of sections along this meristem's branch.

int Obi.ObiPlant.Meristem.generatorId

Id of the generator that spawned this meristem.

GrowthType Obi.ObiPlant.Meristem.growth

Whether this meristem is growing or not.

float Obi.ObiPlant.Meristem.length

Length of the branch that ends at this meristem.

int Obi.ObiPlant.Meristem.particleIndex

Index of the meristemic particle.

float Obi.ObiPlant.Meristem.thickness

Base meristem thickness.


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