Color property setter
More...
|
override void | Initialization (MMProperty property) |
| On init we grab our initial color More...
|
|
override void | CreateGettersAndSetters (MMProperty property) |
| Creates cached getter and setters for properties More...
|
|
override object | GetValue (MMPropertyEmitter emitter, MMProperty property) |
| Gets the raw value of the property, a normalized float value, caching the operation if possible More...
|
|
override void | SetValue (MMPropertyReceiver receiver, MMProperty property, object newValue) |
| Sets the raw property value, float normalized, caching the operation if possible More...
|
|
override float | GetLevel (MMPropertyEmitter emitter, MMProperty property) |
| Returns this property link's level between 0 and 1 More...
|
|
override void | SetLevel (MMPropertyReceiver receiver, MMProperty property, float level) |
| Sets the level, lerping between ColorRemapZero and One More...
|
|
virtual object | GetPropertyValue (MMProperty property) |
| Returns the value of the selected property More...
|
|
◆ CreateGettersAndSetters()
override void MoreMountains.Tools.MMPropertyLinkColor.CreateGettersAndSetters |
( |
MMProperty |
property | ) |
|
|
virtual |
◆ GetLevel()
◆ GetValue()
◆ GetValueOptimized()
virtual Color MoreMountains.Tools.MMPropertyLinkColor.GetValueOptimized |
( |
MMProperty |
property | ) |
|
|
protectedvirtual |
Gets either the cached value or the raw value
- Parameters
-
- Returns
◆ Initialization()
override void MoreMountains.Tools.MMPropertyLinkColor.Initialization |
( |
MMProperty |
property | ) |
|
|
virtual |
◆ SetLevel()
◆ SetValue()
◆ SetValueOptimized()
virtual void MoreMountains.Tools.MMPropertyLinkColor.SetValueOptimized |
( |
MMProperty |
property, |
|
|
Color |
newValue |
|
) |
| |
|
protectedvirtual |
Sets either the cached value or the raw value
- Parameters
-
◆ _color
Color MoreMountains.Tools.MMPropertyLinkColor._color |
|
protected |
◆ _initialValue
Color MoreMountains.Tools.MMPropertyLinkColor._initialValue |
|
protected |
◆ _newValue
Color MoreMountains.Tools.MMPropertyLinkColor._newValue |
|
protected |
◆ GetColorDelegate
Func<Color> MoreMountains.Tools.MMPropertyLinkColor.GetColorDelegate |
◆ SetColorDelegate
Action<Color> MoreMountains.Tools.MMPropertyLinkColor.SetColorDelegate |
The documentation for this class was generated from the following file: