Feel
5.0
The best way to improve your game's feel and make it extra juicy
|
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... | |
virtual object | GetPropertyValue (MMProperty property) |
Returns the value of the selected property More... | |
Protected Member Functions | |
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.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkString, 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.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkFloat, 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.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkString, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
virtual |
Initialization method
property |
Reimplemented in MoreMountains.Tools.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector3, MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkString, and MoreMountains.Tools.MMPropertyLinkVector4.
|
virtual |
Sets the property's level, float normalized, caching the operation if possible
receiver | |
property | |
level |
Reimplemented in MoreMountains.Tools.MMPropertyLinkVector3, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkVector4, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkColor, and MoreMountains.Tools.MMPropertyLinkString.
|
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.MMPropertyLinkColor, MoreMountains.Tools.MMPropertyLinkInt, MoreMountains.Tools.MMPropertyLinkQuaternion, MoreMountains.Tools.MMPropertyLinkVector2, MoreMountains.Tools.MMPropertyLinkBool, MoreMountains.Tools.MMPropertyLinkFloat, MoreMountains.Tools.MMPropertyLinkString, MoreMountains.Tools.MMPropertyLinkVector3, and MoreMountains.Tools.MMPropertyLinkVector4.
|
protected |