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

A class used to pick a property and modify its value More...

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

Public Member Functions

virtual void SetLevel (float newLevel)
 Sets the 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...
 

Public Attributes

bool ShouldModifyValue = true
 values will only be modified if this is true More...
 
bool RelativeValue = true
 whether or not to add to this property's initial value More...
 
bool ModifyX = true
 whether or not to modify the X value of this vector More...
 
bool ModifyY = true
 whether or not to modify the Y value of this vector More...
 
bool ModifyZ = true
 whether or not to modify the Z value of this vector More...
 
bool ModifyW = true
 whether or not to modify the W value of this vector More...
 
float Threshold = 0.5f
 the threshold after which the float level should make this bool false or true More...
 
bool BoolRemapZero = false
 the state to remap a float's zero to More...
 
bool BoolRemapOne = true
 the state to remap a float's one to More...
 
string StringRemapZero = "Zero"
 the string to remap a float's zero to More...
 
string StringRemapOne = "One"
 the string to remap a float's zero to More...
 
int IntRemapZero = 0
 the int value to remap the level's zero to More...
 
int IntRemapOne = 1
 the int value to remap the level's 1 to More...
 
float FloatRemapZero = 0f
 the float value to remap the level's 0 to More...
 
float FloatRemapOne = 1f
 the float value to remap the level's 1 to More...
 
Vector2 Vector2RemapZero = Vector2.zero
 the vector2 value to remap the level's 0 to More...
 
Vector2 Vector2RemapOne = Vector2.one
 the vector2 value to remap the level's 1 to More...
 
Vector3 Vector3RemapZero = Vector3.zero
 the vector3 value to remap the level's 0 to More...
 
Vector3 Vector3RemapOne = Vector3.one
 the vector3 value to remap the level's 1 to More...
 
Vector4 Vector4RemapZero = Vector4.zero
 the vector4 value to remap the level's 0 to More...
 
Vector4 Vector4RemapOne = Vector4.one
 the vector4 value to remap the level's 1 to More...
 
Vector3 QuaternionRemapZero = Vector3.zero
 the quaternion value to remap the level's 0 to More...
 
Vector3 QuaternionRemapOne = new Vector3(180f, 180f, 180f)
 the quaternion value to remap the level's 1 to More...
 
Color ColorRemapZero = Color.white
 the color value to remap the level's 0 to More...
 
Color ColorRemapOne = Color.black
 the color value to remap the level's 1 to More...
 
float Level = 0f
 the 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
bool PropertyFound [getprotected set]
 whether or not this property has been found More...
 

Detailed Description

A class used to pick a property and modify its value

Member Function Documentation

◆ SetLevel()

virtual void MoreMountains.Tools.MMPropertyReceiver.SetLevel ( float  newLevel)
virtual

Sets the level

Parameters
newLevel

Member Data Documentation

◆ BoolRemapOne

bool MoreMountains.Tools.MMPropertyReceiver.BoolRemapOne = true

the state to remap a float's one to

◆ BoolRemapZero

bool MoreMountains.Tools.MMPropertyReceiver.BoolRemapZero = false

the state to remap a float's zero to

◆ ColorRemapOne

Color MoreMountains.Tools.MMPropertyReceiver.ColorRemapOne = Color.black

the color value to remap the level's 1 to

◆ ColorRemapZero

Color MoreMountains.Tools.MMPropertyReceiver.ColorRemapZero = Color.white

the color value to remap the level's 0 to

◆ FloatRemapOne

float MoreMountains.Tools.MMPropertyReceiver.FloatRemapOne = 1f

the float value to remap the level's 1 to

◆ FloatRemapZero

float MoreMountains.Tools.MMPropertyReceiver.FloatRemapZero = 0f

the float value to remap the level's 0 to

◆ IntRemapOne

int MoreMountains.Tools.MMPropertyReceiver.IntRemapOne = 1

the int value to remap the level's 1 to

◆ IntRemapZero

int MoreMountains.Tools.MMPropertyReceiver.IntRemapZero = 0

the int value to remap the level's zero to

◆ Level

float MoreMountains.Tools.MMPropertyReceiver.Level = 0f

the current level

◆ ModifyW

bool MoreMountains.Tools.MMPropertyReceiver.ModifyW = true

whether or not to modify the W value of this vector

◆ ModifyX

bool MoreMountains.Tools.MMPropertyReceiver.ModifyX = true

whether or not to modify the X value of this vector

◆ ModifyY

bool MoreMountains.Tools.MMPropertyReceiver.ModifyY = true

whether or not to modify the Y value of this vector

◆ ModifyZ

bool MoreMountains.Tools.MMPropertyReceiver.ModifyZ = true

whether or not to modify the Z value of this vector

◆ QuaternionRemapOne

Vector3 MoreMountains.Tools.MMPropertyReceiver.QuaternionRemapOne = new Vector3(180f, 180f, 180f)

the quaternion value to remap the level's 1 to

◆ QuaternionRemapZero

Vector3 MoreMountains.Tools.MMPropertyReceiver.QuaternionRemapZero = Vector3.zero

the quaternion value to remap the level's 0 to

◆ RelativeValue

bool MoreMountains.Tools.MMPropertyReceiver.RelativeValue = true

whether or not to add to this property's initial value

◆ ShouldModifyValue

bool MoreMountains.Tools.MMPropertyReceiver.ShouldModifyValue = true

values will only be modified if this is true

◆ StringRemapOne

string MoreMountains.Tools.MMPropertyReceiver.StringRemapOne = "One"

the string to remap a float's zero to

◆ StringRemapZero

string MoreMountains.Tools.MMPropertyReceiver.StringRemapZero = "Zero"

the string to remap a float's zero to

◆ Threshold

float MoreMountains.Tools.MMPropertyReceiver.Threshold = 0.5f

the threshold after which the float level should make this bool false or true

◆ Vector2RemapOne

Vector2 MoreMountains.Tools.MMPropertyReceiver.Vector2RemapOne = Vector2.one

the vector2 value to remap the level's 1 to

◆ Vector2RemapZero

Vector2 MoreMountains.Tools.MMPropertyReceiver.Vector2RemapZero = Vector2.zero

the vector2 value to remap the level's 0 to

◆ Vector3RemapOne

Vector3 MoreMountains.Tools.MMPropertyReceiver.Vector3RemapOne = Vector3.one

the vector3 value to remap the level's 1 to

◆ Vector3RemapZero

Vector3 MoreMountains.Tools.MMPropertyReceiver.Vector3RemapZero = Vector3.zero

the vector3 value to remap the level's 0 to

◆ Vector4RemapOne

Vector4 MoreMountains.Tools.MMPropertyReceiver.Vector4RemapOne = Vector4.one

the vector4 value to remap the level's 1 to

◆ Vector4RemapZero

Vector4 MoreMountains.Tools.MMPropertyReceiver.Vector4RemapZero = Vector4.zero

the vector4 value to remap the level's 0 to


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