DustEngine  0.2.0
DustEngine.FactoryInstance Class Reference
Inheritance diagram for DustEngine.FactoryInstance:
DustEngine.DuMonoBehaviour

Classes

class  InstanceUpdateEvent
 
class  MaterialReference
 
class  State
 

Public Member Functions

void Initialize (Factory factory, int initIndex, float initOffset, float initRandomScalar, Vector3 initRandomVector)
 
void SetDefaultState (State state)
 
MaterialReference GetDefaultMaterialReference ()
 

Protected Attributes

bool m_UpdatePosition = true
 
bool m_UpdateRotation = true
 
bool m_UpdateScale = true
 

Properties

bool updatePosition [get, set]
 
bool updateRotation [get, set]
 
bool updateScale [get, set]
 
Factory parentFactory [get]
 
FactoryInstance prevInstance [get]
 
FactoryInstance nextInstance [get]
 
int index [get]
 
float offset [get]
 
float randomScalar [get]
 
Vector3 randomVector [get]
 
State stateZero [get]
 
State stateDynamic [get]
 
State stateDynamicPrevious [get]
 
MaterialReference materialReference [get]
 
InstanceUpdateEvent onInstanceUpdate [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from DustEngine.DuMonoBehaviour
static void print_war (object message)
 
static void print_err (object message)
 
- Static Protected Member Functions inherited from DustEngine.DuMonoBehaviour
static bool UpdatePropertyValue (ref bool originValue, bool newValue)
 
static bool UpdatePropertyValue (ref int originValue, int newValue)
 
static bool UpdatePropertyValue (ref float originValue, float newValue)
 
static bool UpdatePropertyValue (ref Color originValue, Color newValue)
 
static bool UpdatePropertyValue (ref Vector3 originValue, Vector3 newValue)
 
static bool UpdatePropertyValue (ref Vector3Int originValue, Vector3Int newValue)
 
static bool UpdatePropertyValue (ref GameObject originValue, GameObject newValue)
 

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