This is a utility wrapper for the RelationshipPreview class to make it easier to use. example = Vector3 previewPos = RelationshipPreviewUtility.PreviewPosition(relationship);.
More...
|
|
static Vector3 | PreviewPosition (LemmingRelationship relationship) |
| | Previews the position metric for a given relationship, regardless of family type.
|
|
static Quaternion | PreviewRotation (LemmingRelationship relationship) |
| | Previews the rotation metric for a given relationship, regardless of family type.
|
| static float | PreviewFloat< TEnum > (LemmingRelationship relationship, TEnum metric, float? min=null, float? max=null, LemmingRelationSetting settings=null) |
| | Previews the raw float value for a custom metric with optional settings and bounds.
|
|
|
static System.Enum | GetPositionMetric (FamilyType type) |
| | Returns the correct "Position" metric enum for the given family type.
|
|
static System.Enum | GetRotationMetric (FamilyType type) |
| | Returns the correct "Rotation" metric enum for the given family type.
|
This is a utility wrapper for the RelationshipPreview class to make it easier to use. example = Vector3 previewPos = RelationshipPreviewUtility.PreviewPosition(relationship);.
◆ PreviewFloat< TEnum >()
Previews the raw float value for a custom metric with optional settings and bounds.
The documentation for this class was generated from the following file:
- Assets/Lemmings/Scripts/Namespace/LemmingUtilities.cs