LedBoardFrameProfile
public sealed class LedBoardFrameProfile : ScriptableObjectReusable normalized front-frame cross-section. Curve time is outward distance and curve value is forward rise, both in the range zero to one.
Methods
Section titled “Methods”
Evaluate(float)
Section titled “Evaluate(float)”public float Evaluate(float normalizedWidth)Evaluates the normalized profile at an outward-distance value from zero to one.
Parameters
| Name | Type |
|---|---|
normalizedWidth |
System.Single |
Returns
System.Single
SetCurve(AnimationCurve)
Section titled “SetCurve(AnimationCurve)”public void SetCurve(AnimationCurve curve)Replaces the profile with a normalized independent copy of the supplied curve.
Parameters
| Name | Type |
|---|---|
curve |
UnityEngine.AnimationCurve |
ApplyPreset(LedBoardFrameStyle)
Section titled “ApplyPreset(LedBoardFrameStyle)”public void ApplyPreset(LedBoardFrameStyle style)Replaces the profile with one of the built-in frame shapes.
Parameters
| Name | Type |
|---|---|
style |
LEDStudio.LedBoardFrameStyle |
Constructors
Section titled “Constructors”
LedBoardFrameProfile()
Section titled “LedBoardFrameProfile()”public LedBoardFrameProfile()Properties
Section titled “Properties”
public AnimationCurve Curve { get; set; }Returns an independent copy of the normalized profile curve.
Returns
UnityEngine.AnimationCurve
ShapeHash
Section titled “ShapeHash”public int ShapeHash { get; }Stable fingerprint of the normalized keys, tangents, weights, and wrap modes.
Returns
System.Int32