Skip to content

TextStudioGlyphSignalState

StructTextStudioTextStudio
public readonly struct TextStudioGlyphSignalState

Bounded per-glyph physical signal values for visual response mapping.

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

public float LinearSpeed { get; }

Returns

System.Single

public float AngularSpeed { get; }

Returns

System.Single

public float Impact { get; }

Returns

System.Single

public float Contact { get; }

Returns

System.Single

public float Stretch { get; }

Returns

System.Single

public float Tension { get; }

Returns

System.Single

public float DistanceFromRest { get; }

Returns

System.Single

public bool IsSleeping { get; }

Returns

System.Boolean