Highroad Engine v1.3
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MoreMountains.Tools.MMPropertyLinkQuaternion Class Reference

Quaternion property setter More...

Inheritance diagram for MoreMountains.Tools.MMPropertyLinkQuaternion:
MoreMountains.Tools.MMPropertyLink

Public Member Functions

override void Initialization (MMProperty property)
 On init we grab our initial initialization 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, based on remap zero and remap one, angles in degree More...
 

Public Attributes

Func< Quaternion > GetQuaternionDelegate
 
Action< Quaternion > SetQuaternionDelegate
 

Protected Member Functions

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

Protected Attributes

Quaternion _initialValue = Quaternion.identity
 
Quaternion _newValue
 

Detailed Description

Quaternion property setter

Member Function Documentation

◆ CreateGettersAndSetters()

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

Creates cached getter and setters for properties

Parameters
property

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ GetLevel()

override float MoreMountains.Tools.MMPropertyLinkQuaternion.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.MMPropertyLinkQuaternion.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 Quaternion MoreMountains.Tools.MMPropertyLinkQuaternion.GetValueOptimized ( MMProperty  property)
protectedvirtual

Gets either the cached value or the raw value

Parameters
property
Returns

◆ Initialization()

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

On init we grab our initial initialization

Parameters
property

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ SetLevel()

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

Sets the level, based on remap zero and remap one, angles in degree

Parameters
receiver
property
level

Reimplemented from MoreMountains.Tools.MMPropertyLink.

◆ SetValue()

override void MoreMountains.Tools.MMPropertyLinkQuaternion.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.MMPropertyLinkQuaternion.SetValueOptimized ( MMProperty  property,
Quaternion  newValue 
)
protectedvirtual

Sets either the cached value or the raw value

Parameters
property
newValue

Member Data Documentation

◆ _initialValue

Quaternion MoreMountains.Tools.MMPropertyLinkQuaternion._initialValue = Quaternion.identity
protected

◆ _newValue

Quaternion MoreMountains.Tools.MMPropertyLinkQuaternion._newValue
protected

◆ GetQuaternionDelegate

Func<Quaternion> MoreMountains.Tools.MMPropertyLinkQuaternion.GetQuaternionDelegate

◆ SetQuaternionDelegate

Action<Quaternion> MoreMountains.Tools.MMPropertyLinkQuaternion.SetQuaternionDelegate

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