Vector2 property setter.
More...
|
| override void | Initialization (MMProperty property) |
| | On init we grab our vector2.
|
| override void | CreateGettersAndSetters (MMProperty property) |
| | Creates cached getter and setters for properties.
|
| override object | GetValue (MMPropertyEmitter emitter, MMProperty property) |
| | Gets the raw value of the property, a normalized float value, caching the operation if possible.
|
| override void | SetValue (MMPropertyReceiver receiver, MMProperty property, object newValue) |
| | Sets the raw property value, float normalized, caching the operation if possible.
|
| override float | GetLevel (MMPropertyEmitter emitter, MMProperty property) |
| | Returns this property link's level between 0 and 1.
|
| override float | GetLevel (MMPropertyReceiver receiver, MMProperty property) |
| override void | SetLevel (MMPropertyReceiver receiver, MMProperty property, float level) |
| | Sets the specified level.
|
| virtual object | GetPropertyValue (MMProperty property) |
| | Returns the value of the selected property.
|
◆ CreateGettersAndSetters()
| override void MoreMountains.Tools.MMPropertyLinkVector2.CreateGettersAndSetters |
( |
MMProperty | property | ) |
|
|
virtual |
◆ GetLevel() [1/2]
◆ GetLevel() [2/2]
◆ GetValue()
Gets the raw value of the property, a normalized float value, caching the operation if possible.
- Parameters
-
- Returns
Reimplemented from MoreMountains.Tools.MMPropertyLink.
◆ GetValueOptimized()
| virtual Vector2 MoreMountains.Tools.MMPropertyLinkVector2.GetValueOptimized |
( |
MMProperty | property | ) |
|
|
protectedvirtual |
Gets either the cached value or the raw value.
- Parameters
-
- Returns
◆ Initialization()
| override void MoreMountains.Tools.MMPropertyLinkVector2.Initialization |
( |
MMProperty | property | ) |
|
|
virtual |
◆ SetLevel()
◆ SetValue()
◆ SetValueOptimized()
| virtual void MoreMountains.Tools.MMPropertyLinkVector2.SetValueOptimized |
( |
MMProperty | property, |
|
|
Vector2 | newValue ) |
|
protectedvirtual |
Sets either the cached value or the raw value.
- Parameters
-
◆ _initialValue
| Vector2 MoreMountains.Tools.MMPropertyLinkVector2._initialValue |
|
protected |
◆ _newValue
| Vector2 MoreMountains.Tools.MMPropertyLinkVector2._newValue |
|
protected |
◆ _vector2
| Vector2 MoreMountains.Tools.MMPropertyLinkVector2._vector2 |
|
protected |
◆ GetVector2Delegate
| Func<Vector2> MoreMountains.Tools.MMPropertyLinkVector2.GetVector2Delegate |
◆ SetVector2Delegate
| Action<Vector2> MoreMountains.Tools.MMPropertyLinkVector2.SetVector2Delegate |
The documentation for this class was generated from the following file: