Highroad Engine v1.3
|
A class, meant to be extended, used to control a MMProperty and get/set its value More...
Public Member Functions | |
virtual void | Initialization (MMProperty property) |
Initialization method More... | |
virtual void | CreateGettersAndSetters (MMProperty property) |
A method used to cache getter and setter for properties, not fields (sadly) More... | |
virtual float | GetLevel (MMPropertyEmitter emitter, MMProperty property) |
Gets the "level" of the property, a normalized float value, caching the operation if possible More... | |
virtual void | SetLevel (MMPropertyReceiver receiver, MMProperty property, float level) |
Sets the property's level, float normalized, caching the operation if possible More... | |
virtual object | GetValue (MMPropertyEmitter emitter, MMProperty property) |
Gets the raw value of the property, a normalized float value, caching the operation if possible More... | |
virtual void | SetValue (MMPropertyReceiver receiver, MMProperty property, object newValue) |
Sets the raw property value, float normalized, caching the operation if possible More... | |
Protected Member Functions | |
virtual object | GetPropertyValue (MMProperty property) |
Returns the value of the selected property More... | |
virtual void | SetPropertyValue (MMProperty property, object newValue) |
Sets the value of the selected property More... | |
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.
|
protectedvirtual |
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 |