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

A class used to pick a property, and remap its value for emission/broadcast More...

Inheritance diagram for MoreMountains.Tools.MMPropertyEmitter:
MoreMountains.Tools.MMPropertyPicker

Public Types

enum  Vector2Options { Vector2Options.X, Vector2Options.Y }
 the possible axis to look for on a Vector2 More...
 
enum  Vector3Options { Vector3Options.X, Vector3Options.Y, Vector3Options.Z }
 the possible axis to look for on a Vector3 More...
 
enum  Vector4Options { Vector4Options.X, Vector4Options.Y, Vector4Options.Z, Vector4Options.W }
 the possible axis to look for on a Vector4 More...
 

Public Member Functions

virtual float GetLevel ()
 Gets this property's level More...
 
- Public Member Functions inherited from MoreMountains.Tools.MMPropertyPicker
virtual void Initialization (GameObject source)
 When the property picker gets initialized, it grabs the stored property or field and initializes a MMProperty and MMPropertyLink More...
 
virtual object GetRawValue ()
 Returns the raw value of the target property More...
 

Public Attributes

bool ClampMin = true
 the min value to clamp this property value to More...
 
bool ClampMax = true
 the max value to clamp this property value to More...
 
Vector2Options Vector2Option
 the selected axis on Vector2 More...
 
Vector3Options Vector3Option
 the selected axis on Vector3 More...
 
Vector4Options Vector4Option
 the selected axis on Vector4 More...
 
float BoolRemapFalse = 0f
 what to remap a false value to More...
 
float BoolRemapTrue = 1f
 what to remap a true value to More...
 
int IntRemapMinToZero = 0
 what to remap the int min to More...
 
int IntRemapMaxToOne = 1
 what to remap the int max to More...
 
float FloatRemapMinToZero = 0f
 what to remap the float min to More...
 
float FloatRemapMaxToOne = 1f
 what to remap the float max to More...
 
float QuaternionRemapMinToZero = 0f
 what to remap the quaternion min to More...
 
float QuaternionRemapMaxToOne = 360f
 what to remap the quaternion max to More...
 
float Level = 0f
 this property's current level More...
 
- Public Attributes inherited from MoreMountains.Tools.MMPropertyPicker
UnityEngine.Object TargetObject
 the target object to look for a property on More...
 
Component TargetComponent
 the component to look for a property on | storage only, not displayed in the inspector More...
 
ScriptableObject TargetScriptableObject
 the component to look for a property on | storage only, not displayed in the inspector More...
 
string TargetPropertyName
 the name of the property to link to More...
 

Additional Inherited Members

- Protected Attributes inherited from MoreMountains.Tools.MMPropertyPicker
MMProperty _targetMMProperty
 
bool _initialized = false
 
MMPropertyLink _propertySetter
 
- Properties inherited from MoreMountains.Tools.MMPropertyPicker
virtual bool PropertyFound [get, protected set]
 whether or not this property has been found More...
 

Detailed Description

A class used to pick a property, and remap its value for emission/broadcast

Member Enumeration Documentation

◆ Vector2Options

the possible axis to look for on a Vector2

Enumerator

◆ Vector3Options

the possible axis to look for on a Vector3

Enumerator

◆ Vector4Options

the possible axis to look for on a Vector4

Enumerator

Member Function Documentation

◆ GetLevel()

virtual float MoreMountains.Tools.MMPropertyEmitter.GetLevel ( )
virtual

Gets this property's level

Returns

Member Data Documentation

◆ BoolRemapFalse

float MoreMountains.Tools.MMPropertyEmitter.BoolRemapFalse = 0f

what to remap a false value to

◆ BoolRemapTrue

float MoreMountains.Tools.MMPropertyEmitter.BoolRemapTrue = 1f

what to remap a true value to

◆ ClampMax

bool MoreMountains.Tools.MMPropertyEmitter.ClampMax = true

the max value to clamp this property value to

◆ ClampMin

bool MoreMountains.Tools.MMPropertyEmitter.ClampMin = true

the min value to clamp this property value to

◆ FloatRemapMaxToOne

float MoreMountains.Tools.MMPropertyEmitter.FloatRemapMaxToOne = 1f

what to remap the float max to

◆ FloatRemapMinToZero

float MoreMountains.Tools.MMPropertyEmitter.FloatRemapMinToZero = 0f

what to remap the float min to

◆ IntRemapMaxToOne

int MoreMountains.Tools.MMPropertyEmitter.IntRemapMaxToOne = 1

what to remap the int max to

◆ IntRemapMinToZero

int MoreMountains.Tools.MMPropertyEmitter.IntRemapMinToZero = 0

what to remap the int min to

◆ Level

float MoreMountains.Tools.MMPropertyEmitter.Level = 0f

this property's current level

◆ QuaternionRemapMaxToOne

float MoreMountains.Tools.MMPropertyEmitter.QuaternionRemapMaxToOne = 360f

what to remap the quaternion max to

◆ QuaternionRemapMinToZero

float MoreMountains.Tools.MMPropertyEmitter.QuaternionRemapMinToZero = 0f

what to remap the quaternion min to

◆ Vector2Option

Vector2Options MoreMountains.Tools.MMPropertyEmitter.Vector2Option

the selected axis on Vector2

◆ Vector3Option

Vector3Options MoreMountains.Tools.MMPropertyEmitter.Vector3Option

the selected axis on Vector3

◆ Vector4Option

Vector4Options MoreMountains.Tools.MMPropertyEmitter.Vector4Option

the selected axis on Vector4


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