Skip to content

TextStudio3DElectricDischargeState

StructTextStudio.ThreeDTextStudio.3D
public readonly struct TextStudio3DElectricDischargeState

Immutable phase, progress and intensity for one deterministic electric discharge sample.

public float SampleEnvelope(float pathProgress)

Returns the visible discharge intensity at a normalized position along the bolt path.

Parameters

Name Type
pathProgress System.Single

Returns

System.Single

public uint Epoch { get; }

Returns

System.UInt32

public TextStudio3DElectricDischargePhase Phase { get; }

Returns

TextStudio.ThreeD.TextStudio3DElectricDischargePhase

public float CycleProgress { get; }

Returns

System.Single

public float LeaderProgress { get; }

Returns

System.Single

public float Intensity { get; }

Returns

System.Single