TopDown Engine  v4.1
MoreMountains.Tools.MMPropertyLink Class Reference

A class, meant to be extended, used to control a MMProperty and get/set its value More...

Inheritance diagram for MoreMountains.Tools.MMPropertyLink:
MoreMountains.Tools.MMPropertyLinkBool MoreMountains.Tools.MMPropertyLinkColor MoreMountains.Tools.MMPropertyLinkFloat MoreMountains.Tools.MMPropertyLinkInt MoreMountains.Tools.MMPropertyLinkQuaternion MoreMountains.Tools.MMPropertyLinkString MoreMountains.Tools.MMPropertyLinkVector2 MoreMountains.Tools.MMPropertyLinkVector3 MoreMountains.Tools.MMPropertyLinkVector4

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
 

Detailed Description

A class, meant to be extended, used to control a MMProperty and get/set its value

Member Function Documentation

◆ CreateGettersAndSetters()

◆ GetLevel()

virtual float MoreMountains.Tools.MMPropertyLink.GetLevel ( MMPropertyEmitter  emitter,
MMProperty  property 
)
virtual

◆ GetPropertyValue()

virtual object MoreMountains.Tools.MMPropertyLink.GetPropertyValue ( MMProperty  property)
virtual

Returns the value of the selected property

Returns

◆ GetValue()

virtual object MoreMountains.Tools.MMPropertyLink.GetValue ( MMPropertyEmitter  emitter,
MMProperty  property 
)
virtual

◆ Initialization()

◆ SetLevel()

virtual void MoreMountains.Tools.MMPropertyLink.SetLevel ( MMPropertyReceiver  receiver,
MMProperty  property,
float  level 
)
virtual

◆ SetPropertyValue()

virtual void MoreMountains.Tools.MMPropertyLink.SetPropertyValue ( MMProperty  property,
object  newValue 
)
protectedvirtual

Sets the value of the selected property

Parameters
newValue

◆ SetValue()

virtual void MoreMountains.Tools.MMPropertyLink.SetValue ( MMPropertyReceiver  receiver,
MMProperty  property,
object  newValue 
)
virtual

Member Data Documentation

◆ _getterSetterInitialized

bool MoreMountains.Tools.MMPropertyLink._getterSetterInitialized = false
protected

The documentation for this class was generated from the following file: