|
Inventory Engine v4.2
|
A class used to pick a property, and remap its value for emission/broadcast. More...
Inherits MoreMountains.Tools.MMPropertyPicker.
Public Types | |
| enum | Vector2Options { X , Y } |
| the possible axis to look for on a Vector2 More... | |
| enum | Vector3Options { X , Y , Z } |
| the possible axis to look for on a Vector3 More... | |
| enum | Vector4Options { X , Y , Z , W } |
| the possible axis to look for on a Vector4 More... | |
Public Member Functions | |
| virtual float | GetLevel () |
| Gets this property's level. | |
| 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. | |
| virtual object | GetRawValue () |
| Returns the raw value of the target property. | |
Public Attributes | |
| bool | ClampMin = true |
| the min value to clamp this property value to | |
| bool | ClampMax = true |
| the max value to clamp this property value to | |
| Vector2Options | Vector2Option |
| the selected axis on Vector2 | |
| Vector3Options | Vector3Option |
| the selected axis on Vector3 | |
| Vector4Options | Vector4Option |
| the selected axis on Vector4 | |
| float | BoolRemapFalse = 0f |
| what to remap a false value to | |
| float | BoolRemapTrue = 1f |
| what to remap a true value to | |
| int | IntRemapMinToZero = 0 |
| what to remap the int min to | |
| int | IntRemapMaxToOne = 1 |
| what to remap the int max to | |
| float | FloatRemapMinToZero = 0f |
| what to remap the float min to | |
| float | FloatRemapMaxToOne = 1f |
| what to remap the float max to | |
| float | QuaternionRemapMinToZero = 0f |
| what to remap the quaternion min to | |
| float | QuaternionRemapMaxToOne = 360f |
| what to remap the quaternion max to | |
| float | Level = 0f |
| this property's current level | |
| Public Attributes inherited from MoreMountains.Tools.MMPropertyPicker | |
| UnityEngine.Object | TargetObject |
| the target object to look for a property on | |
| Component | TargetComponent |
| the component to look for a property on | storage only, not displayed in the inspector | |
| ScriptableObject | TargetScriptableObject |
| the component to look for a property on | storage only, not displayed in the inspector | |
| string | TargetPropertyName |
| the name of the property to link to | |
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 | |
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