Public Types | |
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 bool | PrepareForUpdateInstancesStates (FactoryInstanceState factoryInstanceState) |
override void | UpdateInstanceState (FactoryInstanceState factoryInstanceState) |
override void | FinalizeUpdateInstancesStates (FactoryInstanceState factoryInstanceState) |
override int | GetDynamicStateHashCode () |
Protected Member Functions | |
virtual void | UpdateInstanceDynamicState (FactoryInstanceState factoryInstanceState, float intensityByMachine) |
void | UpdateInstanceDynamicState_Value (FactoryInstanceState factoryInstanceState) |
void | UpdateInstanceDynamicState_Color (FactoryInstanceState factoryInstanceState) |
void | ResetToDefaults () |
Protected Attributes | |
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 | |
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 | |
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) |