Skip to content

OutgoingGlyphModule

ClassTextStudio.ThreeDTextStudio.3D
public sealed class OutgoingGlyphModule : Module3DBase, ITextStudio3DOutgoingMotionDriver, ITextStudio3DOutgoingHandoffModule

Retains the rendered 3D glyphs when the hub replaces text in Overlap Handoff mode. The module is a stateless asset. Every host owns its own bounded runtime pools.

public const int MaximumConcurrentChanges = 8

Returns

System.Int32

public const int MaximumGlyphCount = 512

Returns

System.Int32

public override void OnInactive(TextStudio3DText host)

Called after assembly when an attached post-assembly module is disabled. Lifecycle modules can use this to hide or return previously created output without destroying pools.

Parameters

Name Type
host TextStudio.ThreeD.TextStudio3DText

CanHandleOutgoingHandoff(TextStudio3DText)

Section titled “CanHandleOutgoingHandoff(TextStudio3DText)”
public bool CanHandleOutgoingHandoff(TextStudio3DText host)

Returns whether this module can retain outgoing glyphs for the supplied host.

Parameters

Name Type
host TextStudio.ThreeD.TextStudio3DText

Returns

System.Boolean

TryHandleOutgoingHandoff(in TextStudio3DOutgoingHandoffContext)

Section titled “TryHandleOutgoingHandoff(in TextStudio3DOutgoingHandoffContext)”
public bool TryHandleOutgoingHandoff(in TextStudio3DOutgoingHandoffContext context)

Captures outgoing glyph geometry and starts its configured retained-glyph simulation.

Parameters

Name Type
context TextStudio.ThreeD.TextStudio3DOutgoingHandoffContext

Returns

System.Boolean

public OutgoingGlyphModule()

public TextStudio3DOutgoingSimulationMode SimulationMode { get; }

Returns

TextStudio.ThreeD.TextStudio3DOutgoingSimulationMode

public Vector3 Gravity { get; }

Returns

UnityEngine.Vector3

public Vector3 InitialVelocity { get; }

Returns

UnityEngine.Vector3

public float Scatter { get; }

Returns

System.Single

public float Spin { get; }

Returns

System.Single

public float Drag { get; }

Returns

System.Single

public float Lifetime { get; }

Returns

System.Single

public float ShrinkStart { get; }

Returns

System.Single

public int MaxConcurrentChanges { get; }

Returns

System.Int32

public int MaxGlyphs { get; }

Returns

System.Int32

public float Mass { get; }

Returns

System.Single

public PhysicsMaterial PhysicsMaterial { get; }

Returns

UnityEngine.PhysicsMaterial

public override ModuleExecutionStage ExecutionStages { get; }

Pipeline callbacks used by this module. Typed capability interfaces infer their exact stages; modules using raw callbacks must override this property explicitly.

Returns

TextStudio.ThreeD.ModuleExecutionStage

public override bool RequiresUncachedGeometry { get; }

Whether this module needs isolated glyph geometry instead of shared cached buffers. Contour and post-geometry modules normally do; lifecycle-only modules normally do not.

Returns

System.Boolean

public override TextStudio3DModuleRole Roles { get; }

Returns

TextStudio.ThreeD.TextStudio3DModuleRole

public override TextStudio3DMeshChannels RequiredMeshChannels { get; }

Returns

TextStudio.ThreeD.TextStudio3DMeshChannels

public override TextStudio3DBoundsBehavior BoundsBehavior { get; }

Returns

TextStudio.ThreeD.TextStudio3DBoundsBehavior

public override TextStudio3DGeometryImpact GeometryImpact { get; }

Returns

TextStudio.ThreeD.TextStudio3DGeometryImpact