DustEngine  0.2.0
DustEngine.NoiseFactoryMachine Class Reference
Inheritance diagram for DustEngine.NoiseFactoryMachine:
DustEngine.PRSFactoryMachine DustEngine.BasicFactoryMachine DustEngine.FactoryMachine DustEngine.DuMonoBehaviour DustEngine.IDynamicState

Public Types

enum class  AxisRemapping {
  Off = 0 , XyzToXzy = 1 , XyzToYxz = 2 , XyzToYzx = 3 ,
  XyzToZxy = 4 , XyzToZyx = 5
}
 
enum class  NoiseDimension { Noise1D = 0 , Noise3D = 1 }
 
enum class  NoiseMode { Random = 0 , Perlin = 1 }
 
enum class  NoiseSpace { World = 0 , Local = 1 }
 
- Public Types inherited from DustEngine.PRSFactoryMachine
enum class  TransformMode { Relative = 0 , Absolute = 1 }
 
enum class  TransformSpace { Factory = 0 , Instance = 1 }
 
- Public Types inherited from DustEngine.BasicFactoryMachine
enum class  ValueBlendMode {
  Set = 0 , Add = 1 , Subtract = 2 , Multiply = 3 ,
  Divide = 4 , Avg = 5 , Min = 6 , Max = 7 ,
  BlendClamped = 8 , BlendUnclamped = 9
}
 
enum class  ColorBlendMode {
  Blend = 0 , Set = 1 , Add = 2 , Subtract = 3 ,
  Multiply = 4 , Min = 5 , Max = 6
}
 

Public Member Functions

override string FactoryMachineName ()
 
override string FactoryMachineDynamicHint ()
 
override void UpdateInstanceState (FactoryInstanceState factoryInstanceState)
 
override int GetDynamicStateHashCode ()
 
void ResetStates ()
 
- Public Member Functions inherited from DustEngine.BasicFactoryMachine
override bool PrepareForUpdateInstancesStates (FactoryInstanceState factoryInstanceState)
 
override void FinalizeUpdateInstancesStates (FactoryInstanceState factoryInstanceState)
 

Static Public Member Functions

static Vector3 AxisRemap (Vector3 v, AxisRemapping axisRemapping)
 
- Static Public Member Functions inherited from DustEngine.DuMonoBehaviour
static void print_war (object message)
 
static void print_err (object message)
 

Protected Attributes

AxisRemapping m_PositionAxisRemapping = AxisRemapping.Off
 
AxisRemapping m_RotationAxisRemapping = AxisRemapping.Off
 
AxisRemapping m_ScaleAxisRemapping = AxisRemapping.Off
 
- Protected Attributes inherited from DustEngine.PRSFactoryMachine
float m_Min = 0.0f
 
float m_Max = 1.0f
 
bool m_PositionEnabled = true
 
Vector3 m_Position = Vector3.up
 
TransformSpace m_PositionTransformSpace = TransformSpace.Instance
 
TransformMode m_PositionTransformMode = TransformMode.Relative
 
bool m_RotationEnabled = false
 
Vector3 m_Rotation = new Vector3(0f, 90f, 0f)
 
TransformMode m_RotationTransformMode = TransformMode.Relative
 
bool m_ScaleEnabled = false
 
Vector3 m_Scale = Vector3.one
 
TransformMode m_ScaleTransformMode = TransformMode.Relative
 
- Protected Attributes inherited from DustEngine.BasicFactoryMachine
bool m_ValueImpactEnabled = false
 
float m_ValueImpactIntensity = 1f
 
ValueBlendMode m_ValueBlendMode = ValueBlendMode.Set
 
bool m_ValueClampEnabled = false
 
float m_ValueClampMin = 0f
 
float m_ValueClampMax = 1f
 
bool m_ColorImpactEnabled = false
 
float m_ColorImpactIntensity = 1f
 
ColorBlendMode m_ColorBlendMode = ColorBlendMode.Blend
 
FieldsMap m_FieldsMap = FieldsMap.FactoryMachine()
 
- Protected Attributes inherited from DustEngine.FactoryMachine
string m_CustomHint = ""
 
float m_Intensity = 1.0f
 

Properties

NoiseMode noiseMode [get, set]
 
NoiseDimension noiseDimension [get, set]
 
float animationSpeed [get, set]
 
float animationOffset [get, set]
 
bool synchronized [get, set]
 
AxisRemapping positionAxisRemapping [get, set]
 
AxisRemapping rotationAxisRemapping [get, set]
 
AxisRemapping scaleAxisRemapping [get, set]
 
NoiseSpace noiseSpace [get, set]
 
float noiseForce [get, set]
 
float noiseScale [get, set]
 
int seed [get, set]
 
- Properties inherited from DustEngine.PRSFactoryMachine
float min [get, set]
 
float max [get, set]
 
bool positionEnabled [get, set]
 
Vector3 position [get, set]
 
TransformSpace positionTransformSpace [get, set]
 
TransformMode positionTransformMode [get, set]
 
bool rotationEnabled [get, set]
 
Vector3 rotation [get, set]
 
TransformMode rotationTransformMode [get, set]
 
bool scaleEnabled [get, set]
 
Vector3 scale [get, set]
 
TransformMode scaleTransformMode [get, set]
 
- Properties inherited from DustEngine.BasicFactoryMachine
bool valueImpactEnabled [get, set]
 
float valueImpactIntensity [get, set]
 
ValueBlendMode valueBlendMode [get, set]
 
bool valueClampEnabled [get, set]
 
float valueClampMin [get, set]
 
float valueClampMax [get, set]
 
bool colorImpactEnabled [get, set]
 
float colorImpactIntensity [get, set]
 
ColorBlendMode colorBlendMode [get, set]
 
FieldsMap fieldsMap [get]
 
- Properties inherited from DustEngine.FactoryMachine
string customHint [get, set]
 
float intensity [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from DustEngine.PRSFactoryMachine
override void UpdateInstanceDynamicState (FactoryInstanceState factoryInstanceState, float intensityByMachine)
 
void UpdateInstanceDynamicState_Position (FactoryInstanceState factoryInstanceState)
 
void UpdateInstanceDynamicState_Rotation (FactoryInstanceState factoryInstanceState)
 
void UpdateInstanceDynamicState_Scale (FactoryInstanceState factoryInstanceState)
 
- Protected Member Functions inherited from DustEngine.BasicFactoryMachine
void UpdateInstanceDynamicState_Value (FactoryInstanceState factoryInstanceState)
 
void UpdateInstanceDynamicState_Color (FactoryInstanceState factoryInstanceState)
 
void ResetToDefaults ()
 
- 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: