TopDown Engine  v3.6
MoreMountains.Tools.MMPropertyLinkVector4 Class Reference
Inheritance diagram for MoreMountains.Tools.MMPropertyLinkVector4:
MoreMountains.Tools.MMPropertyLink

Public Member Functions

override void Initialization (MMProperty property)
 Initialization method 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 property's level, float normalized, caching the operation if possible More...
 

Public Attributes

Func< Vector4 > GetVector4Delegate
 
Action< Vector4 > SetVector4Delegate
 

Protected Member Functions

virtual Vector4 GetValueOptimized (MMProperty property)
 Gets either the cached value or the raw value More...
 
virtual void SetValueOptimized (MMProperty property, Vector4 newValue)
 Sets either the cached value or the raw value More...
 

Protected Attributes

Vector4 _initialValue
 
Vector4 _newValue
 
Vector4 _vector4
 

Member Function Documentation

◆ CreateGettersAndSetters()

override void MoreMountains.Tools.MMPropertyLinkVector4.CreateGettersAndSetters ( MMProperty  property)
virtual

Creates cached getter and setters for properties

Parameters
property

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ GetLevel()

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

Returns this property link's level between 0 and 1

Parameters
receiver
property
level
Returns

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ GetValue()

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

Gets the raw value of the property, a normalized float value, caching the operation if possible

Parameters
emitter
property
Returns

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ GetValueOptimized()

virtual Vector4 MoreMountains.Tools.MMPropertyLinkVector4.GetValueOptimized ( MMProperty  property)
protectedvirtual

Gets either the cached value or the raw value

Parameters
property
Returns

◆ Initialization()

override void MoreMountains.Tools.MMPropertyLinkVector4.Initialization ( MMProperty  property)
virtual

Initialization method

Parameters
property

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ SetLevel()

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

Sets the property's level, float normalized, caching the operation if possible

Parameters
receiver
property
level

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ SetValue()

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

Sets the raw property value, float normalized, caching the operation if possible

Parameters
receiver
property
level

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ SetValueOptimized()

virtual void MoreMountains.Tools.MMPropertyLinkVector4.SetValueOptimized ( MMProperty  property,
Vector4  newValue 
)
protectedvirtual

Sets either the cached value or the raw value

Parameters
property
newValue

Member Data Documentation

◆ _initialValue

Vector4 MoreMountains.Tools.MMPropertyLinkVector4._initialValue
protected

◆ _newValue

Vector4 MoreMountains.Tools.MMPropertyLinkVector4._newValue
protected

◆ _vector4

Vector4 MoreMountains.Tools.MMPropertyLinkVector4._vector4
protected

◆ GetVector4Delegate

Func<Vector4> MoreMountains.Tools.MMPropertyLinkVector4.GetVector4Delegate

◆ SetVector4Delegate

Action<Vector4> MoreMountains.Tools.MMPropertyLinkVector4.SetVector4Delegate

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