Lemmings
Remappable Gestures For Unity
Loading...
Searching...
No Matches
Lemmings.RelationshipPreview.Result Struct Reference

Holds the results of a live relationship computation, including raw, normalized, curved values and boundary status flags. More...

Data Fields

object Raw
 The unprocessed output of LemmingRelation.Evaluate. Can be any type (float, Vector3, Quaternion, etc.).
float Normalized
 The result remapped into [0,1] based on Min/Max bounds.
float Curved
 The normalized value after applying the chosen animation curve.
bool Over
 True if the raw value lies strictly above the Max bound.
bool Under
 True if the raw value lies strictly below the Min bound.
bool InRange
 True if the raw value is within the [Min,Max] range (inclusive).
float AsAxis
 This provides the normalized value in a range of -1 to 1, useful for input mapping and relative values.

Detailed Description

Holds the results of a live relationship computation, including raw, normalized, curved values and boundary status flags.


The documentation for this struct was generated from the following file:
  • Assets/Lemmings/Scripts/Namespace/LemmingUtilities.cs