Lemmings
Remappable Gestures For Unity
Loading...
Searching...
No Matches
Lemmings.LemmingSecondaryMetric Class Reference

Allows previewing a secondary or alternate metric from an existing LemmingRelationship. Evaluates on-demand using public method call, avoiding continuous updates. More...

Inherits MonoBehaviour.

Public Member Functions

void OnEnable ()
void Initialize ()
void RevertToOriginal ()
void Refresh ()
 This is called to refresh the output and the values, to have a responsive experience you will want to call this or reference the Output in an update function.
Enum GetSelectedMetric (FamilyType family)

Data Fields

LemmingRelationship relationship
bool useNewThresholds = false
float min = 0f
float max = 1f
bool changeCurve = false
LemmingCurveType curveType = LemmingCurveType.Linear
AnimationCurve curve = AnimationCurve.Linear(0, 0, 1, 1)
SingleMetric singleMetric
CoupleMetric coupleMetric
ThroupleMetric throupleMetric
GroupMetric groupMetric
LemmingRelationshipInfo secondaryInfo = new LemmingRelationshipInfo()
object Raw
float Normalized
float Curved
bool Over
bool Under
bool InRange

Properties

Output Output [get]
 Returns the most recently cached output. Refresh() must be called manually to update it.
Output LiveOutput [get]
 Returns a fresh output by re-evaluating the relationship. This calls Refresh internally.

Private Attributes

bool useAdvancedSettings
LemmingRelationSetting secondarySettings = new LemmingRelationSetting()
bool _hasInitialized = false

Detailed Description

Allows previewing a secondary or alternate metric from an existing LemmingRelationship. Evaluates on-demand using public method call, avoiding continuous updates.


The documentation for this class was generated from the following file:
  • Assets/Lemmings/Scripts/Classes/LemmingSecondaryMetric.cs