TopDown Engine
v4.2
|
A class used to pick a property, and remap its value for emission/broadcast More...
Public Types | |
enum | Vector2Options { Vector2Options.X, Vector2Options.Y } |
the possible axis to look for on a Vector2 More... | |
enum | Vector3Options { Vector3Options.X, Vector3Options.Y, Vector3Options.Z } |
the possible axis to look for on a Vector3 More... | |
enum | Vector4Options { Vector4Options.X, Vector4Options.Y, Vector4Options.Z, Vector4Options.W } |
the possible axis to look for on a Vector4 More... | |
Public Member Functions | |
virtual float | GetLevel () |
Gets this property's level More... | |
Public Member Functions inherited from MoreMountains.Tools.MMPropertyPicker | |
virtual void | Initialization (GameObject source) |
When the property picker gets initialized, it grabs the stored property or field and initializes a MMProperty and MMPropertyLink More... | |
virtual object | GetRawValue () |
Returns the raw value of the target property More... | |
Public Attributes | |
bool | ClampMin = true |
the min value to clamp this property value to More... | |
bool | ClampMax = true |
the max value to clamp this property value to More... | |
Vector2Options | Vector2Option |
the selected axis on Vector2 More... | |
Vector3Options | Vector3Option |
the selected axis on Vector3 More... | |
Vector4Options | Vector4Option |
the selected axis on Vector4 More... | |
float | BoolRemapFalse = 0f |
what to remap a false value to More... | |
float | BoolRemapTrue = 1f |
what to remap a true value to More... | |
int | IntRemapMinToZero = 0 |
what to remap the int min to More... | |
int | IntRemapMaxToOne = 1 |
what to remap the int max to More... | |
float | FloatRemapMinToZero = 0f |
what to remap the float min to More... | |
float | FloatRemapMaxToOne = 1f |
what to remap the float max to More... | |
float | QuaternionRemapMinToZero = 0f |
what to remap the quaternion min to More... | |
float | QuaternionRemapMaxToOne = 360f |
what to remap the quaternion max to More... | |
float | Level = 0f |
this property's current level More... | |
Public Attributes inherited from MoreMountains.Tools.MMPropertyPicker | |
UnityEngine.Object | TargetObject |
the target object to look for a property on More... | |
Component | TargetComponent |
the component to look for a property on | storage only, not displayed in the inspector More... | |
ScriptableObject | TargetScriptableObject |
the component to look for a property on | storage only, not displayed in the inspector More... | |
string | TargetPropertyName |
the name of the property to link to More... | |
Additional Inherited Members | |
Protected Attributes inherited from MoreMountains.Tools.MMPropertyPicker | |
MMProperty | _targetMMProperty |
bool | _initialized = false |
MMPropertyLink | _propertySetter |
Properties inherited from MoreMountains.Tools.MMPropertyPicker | |
virtual bool | PropertyFound [get, protected set] |
whether or not this property has been found More... | |
A class used to pick a property, and remap its value for emission/broadcast
|
virtual |
Gets this property's level
float MoreMountains.Tools.MMPropertyEmitter.BoolRemapFalse = 0f |
what to remap a false value to
float MoreMountains.Tools.MMPropertyEmitter.BoolRemapTrue = 1f |
what to remap a true value to
bool MoreMountains.Tools.MMPropertyEmitter.ClampMax = true |
the max value to clamp this property value to
bool MoreMountains.Tools.MMPropertyEmitter.ClampMin = true |
the min value to clamp this property value to
float MoreMountains.Tools.MMPropertyEmitter.FloatRemapMaxToOne = 1f |
what to remap the float max to
float MoreMountains.Tools.MMPropertyEmitter.FloatRemapMinToZero = 0f |
what to remap the float min to
int MoreMountains.Tools.MMPropertyEmitter.IntRemapMaxToOne = 1 |
what to remap the int max to
int MoreMountains.Tools.MMPropertyEmitter.IntRemapMinToZero = 0 |
what to remap the int min to
float MoreMountains.Tools.MMPropertyEmitter.Level = 0f |
this property's current level
float MoreMountains.Tools.MMPropertyEmitter.QuaternionRemapMaxToOne = 360f |
what to remap the quaternion max to
float MoreMountains.Tools.MMPropertyEmitter.QuaternionRemapMinToZero = 0f |
what to remap the quaternion min to
Vector2Options MoreMountains.Tools.MMPropertyEmitter.Vector2Option |
the selected axis on Vector2
Vector3Options MoreMountains.Tools.MMPropertyEmitter.Vector3Option |
the selected axis on Vector3
Vector4Options MoreMountains.Tools.MMPropertyEmitter.Vector4Option |
the selected axis on Vector4