TextStudioGlyphSignalState
public readonly struct TextStudioGlyphSignalStateBounded per-glyph physical signal values for visual response mapping.
Constructors
Section titled “Constructors”
TextStudioGlyphSignalState(float, float, float, float, float, float, float, bool)
Section titled “TextStudioGlyphSignalState(float, float, float, float, float, float, float, bool)”public TextStudioGlyphSignalState(float linearSpeed, float angularSpeed, float impact, float contact, float stretch, float tension, float distanceFromRest, bool isSleeping)Creates a bounded set of physical signal values for one glyph.
Parameters
| Name | Type |
|---|---|
linearSpeed |
System.Single |
angularSpeed |
System.Single |
impact |
System.Single |
contact |
System.Single |
stretch |
System.Single |
tension |
System.Single |
distanceFromRest |
System.Single |
isSleeping |
System.Boolean |
Properties
Section titled “Properties”
LinearSpeed
Section titled “LinearSpeed”public float LinearSpeed { get; }Returns
System.Single
AngularSpeed
Section titled “AngularSpeed”public float AngularSpeed { get; }Returns
System.Single
Impact
Section titled “Impact”public float Impact { get; }Returns
System.Single
Contact
Section titled “Contact”public float Contact { get; }Returns
System.Single
Stretch
Section titled “Stretch”public float Stretch { get; }Returns
System.Single
Tension
Section titled “Tension”public float Tension { get; }Returns
System.Single
DistanceFromRest
Section titled “DistanceFromRest”public float DistanceFromRest { get; }Returns
System.Single
IsSleeping
Section titled “IsSleeping”public bool IsSleeping { get; }Returns
System.Boolean