|
Inventory Engine v4.2
|
A class, meant to be extended, used to control a MMProperty and get/set its value. More...
Inherited by MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkString, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
Public Member Functions | |
| virtual void | Initialization (MMProperty property) |
| Initialization method. | |
| virtual void | CreateGettersAndSetters (MMProperty property) |
| A method used to cache getter and setter for properties, not fields (sadly) | |
| virtual float | GetLevel (MMPropertyEmitter emitter, MMProperty property) |
| Gets the "level" of the property, a normalized float value, caching the operation if possible. | |
| virtual float | GetLevel (MMPropertyReceiver receiver, MMProperty property) |
| virtual void | SetLevel (MMPropertyReceiver receiver, MMProperty property, float level) |
| Sets the property's level, float normalized, caching the operation if possible. | |
| virtual object | GetValue (MMPropertyEmitter emitter, MMProperty property) |
| Gets the raw value of the property, a normalized float value, caching the operation if possible. | |
| virtual void | SetValue (MMPropertyReceiver receiver, MMProperty property, object newValue) |
| Sets the raw property value, float normalized, caching the operation if possible. | |
| virtual object | GetPropertyValue (MMProperty property) |
| Returns the value of the selected property. | |
Protected Member Functions | |
| virtual void | SetPropertyValue (MMProperty property, object newValue) |
| Sets the value of the selected property. | |
Protected Attributes | |
| bool | _getterSetterInitialized = false |
A class, meant to be extended, used to control a MMProperty and get/set its value.
|
virtual |
A method used to cache getter and setter for properties, not fields (sadly)
| property |
Reimplemented in MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkString, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
virtual |
Gets the "level" of the property, a normalized float value, caching the operation if possible.
| emitter | |
| property |
Reimplemented in MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
virtual |
Reimplemented in MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
virtual |
Returns the value of the selected property.
|
virtual |
Gets the raw value of the property, a normalized float value, caching the operation if possible.
| emitter | |
| property |
Reimplemented in MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkString, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
virtual |
Initialization method.
| property |
Reimplemented in MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkString, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
virtual |
Sets the property's level, float normalized, caching the operation if possible.
| receiver | |
| property | |
| level |
Reimplemented in MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkString, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
protectedvirtual |
Sets the value of the selected property.
| newValue |
|
virtual |
Sets the raw property value, float normalized, caching the operation if possible.
| receiver | |
| property | |
| level |
Reimplemented in MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkString, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
protected |