Skip to content

ITextStudio3DAuthoring

InterfaceTextStudio.ThreeDTextStudio.3D
public interface ITextStudio3DAuthoring

Focused authoring and style contract for a Text Studio 3D renderer.

void ApplyPreset(BuiltInExtrudeStyles.Preset preset)

Replaces the authored layer stack with a detached copy of a built-in extrusion recipe.

Parameters

Name Type
preset TextStudio.ThreeD.BuiltInExtrudeStyles.Preset
TextStudio3DLayer GetLayerSnapshot(int index)

Returns a detached copy of one authored layer, including its mutable stroke collection.

Parameters

Name Type
index System.Int32

Returns

TextStudio.ThreeD.TextStudio3DLayer

void SetLayer(int index, in TextStudio3DLayer layer)

Replaces one authored layer by copying the supplied value and schedules a geometry rebuild.

Parameters

Name Type
index System.Int32
layer TextStudio.ThreeD.TextStudio3DLayer
void InsertLayer(int index, in TextStudio3DLayer layer)

Inserts a copied layer at a clamped index and schedules a geometry rebuild.

Parameters

Name Type
index System.Int32
layer TextStudio.ThreeD.TextStudio3DLayer
void MoveLayer(int sourceIndex, int destinationIndex)

Moves an authored layer while preserving its data and schedules a geometry rebuild.

Parameters

Name Type
sourceIndex System.Int32
destinationIndex System.Int32
void RemoveLayerAt(int index)

Removes the layer at the supplied index when it exists and schedules a geometry rebuild.

Parameters

Name Type
index System.Int32

Font3D FontData { get; set; }

Returns

TextStudio.ThreeD.Font3D

Extrude3DStyle ExtrudeStyle { get; set; }

Returns

TextStudio.ThreeD.Extrude3DStyle

MeshOutputMode OutputMode { get; set; }

Returns

TextStudio.ThreeD.MeshOutputMode

int LayerCount { get; }

Returns

System.Int32