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

NameType
linearSpeedSystem.Single
angularSpeedSystem.Single
impactSystem.Single
contactSystem.Single
stretchSystem.Single
tensionSystem.Single
distanceFromRestSystem.Single
isSleepingSystem.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