Public Types | |
| enum class | InspectorDisplay { None = 0 , Value = 1 , Color = 2 , Index = 3 , UV = 4 } |
| enum class | InstanceAccessMode { Normal = 0 , NotEditable = 1 , HideInHierarchy = 2 } |
| enum class | InstanceTypeMode { Inherit = 0 , UnpackPrefabs = 1 } |
| enum class | IterateMode { Iterate = 0 , Random = 1 } |
| enum class | Orientation { XY = 0 , ZY = 1 , XZ = 2 } |
| enum class | SourceObjectsMode { Holder = 0 , List = 1 , HolderAndList = 2 } |
| enum class | TransformSequence { PositionRotationScale = 0 , RotationPositionScale = 1 } |
| enum class | TransformSpace { Factory = 0 , Instance = 1 } |
Public Member Functions | |
| abstract string | FactoryName () |
| Vector3 | GetPositionInWorldSpace (FactoryInstance factoryInstance) |
| Vector3 | GetPositionInWorldSpace (Vector3 localPosition) |
| Vector3 | GetPositionInLocalSpace (Vector3 worldPoint) |
| FactoryMachine.Record | AddFactoryMachine (FactoryMachine factoryMachine) |
| FactoryMachine.Record | AddFactoryMachine (FactoryMachine factoryMachine, float intensity, bool isEnabled) |
| void | RebuildInstances () |
| void | UpdateInstancesZeroStates () |
| virtual int | GetDynamicStateHashCode () |
| void | UpdateInstancesDynamicStates () |
| void | UpdateInstancesDynamicStates (bool forced) |
Protected Member Functions | |
| void | DestroyAllInstances () |
Protected Attributes | |
| TransformSpace | m_TransformSpace = TransformSpace.Factory |
| TransformSequence | m_TransformSequence = TransformSequence.PositionRotationScale |
| Vector3 | m_TransformPosition = Vector3.zero |
| Vector3 | m_TransformRotation = Vector3.zero |
| Vector3 | m_TransformScale = Vector3.one |
Properties | |
| IterateMode | iterateMode [get, set] |
| InstanceAccessMode | instanceAccessMode [get, set] |
| InstanceTypeMode | instanceTypeMode [get, set] |
| float | instancesFillRate [get, set] |
| int | instancesFillSeed [get, set] |
| GameObject | instancesHolder [get, set] |
| FactoryInstance[] | instances [get] |
| bool | forcedSetActive [get, set] |
| int | seed [get, set] |
| TransformSpace | transformSpace [get, set] |
| TransformSequence | transformSequence [get, set] |
| Vector3 | transformPosition [get, set] |
| Vector3 | transformRotation [get, set] |
| Vector3 | transformScale [get, set] |
| float | defaultValue [get, set] |
| Color | defaultColor [get, set] |
| SourceObjectsMode | sourceObjectsMode [get, set] |
| GameObject | sourceObjectsHolder [get, set] |
| List< GameObject > | sourceObjects [get] |
| List< FactoryMachine.Record > | factoryMachines [get] |
| GameObject | factoryMachinesHolder [get, set] |
| bool | forcedUpdateEachFrame [get, set] |
| InspectorDisplay | inspectorDisplay [get] |
| float | inspectorScale [get] |
| int | lastDynamicStateHashCode [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) |