Skip to content

TextStudio3DDesignPresetAsset

ClassTextStudio.ThreeDTextStudio.3D
public sealed class TextStudio3DDesignPresetAsset : ScriptableObject

Reusable apply-once 3D design recipe assembled from established Text Studio owners. The recipe itself is never retained by the renderer after application.

public Module3DBase GetModule(int index)

Returns one referenced 3D module without allocating.

Parameters

Name Type
index System.Int32

Returns

TextStudio.ThreeD.Module3DBase

public TextStudio3DNamedSocket GetNamedSocket(int index)

Returns one authored named-socket definition.

Parameters

Name Type
index System.Int32

Returns

TextStudio.ThreeD.TextStudio3DNamedSocket

public void ApplyTo(TextStudio3DText target)

Applies established 3D Appearance, Writing, Behavior Profile, module, socket, quality, and output settings. Source text, inline tags, placement, font ownership, and renderer selection remain untouched. The Design asset is not stored on the target.

Parameters

Name Type
target TextStudio.ThreeD.TextStudio3DText

Configure(string, string, string, Extrude3DStyle, TextStudioBehaviorProfile, TextStudio3DPerformanceProfile, TextStudio3DMeshDetailPreset, Module3DBase[], TextStudio3DNamedSocket[])

Section titled “Configure(string, string, string, Extrude3DStyle, TextStudioBehaviorProfile, TextStudio3DPerformanceProfile, TextStudio3DMeshDetailPreset, Module3DBase[], TextStudio3DNamedSocket[])”
public void Configure(string displayName, string description, string sampleText, Extrude3DStyle appearanceStyle, TextStudioBehaviorProfile behaviorProfile, TextStudio3DPerformanceProfile performanceProfile, TextStudio3DMeshDetailPreset meshDetail, Module3DBase[] modules, TextStudio3DNamedSocket[] namedSockets)

Replaces the complete authored recipe definition.

Parameters

Name Type
displayName System.String
description System.String
sampleText System.String
appearanceStyle TextStudio.ThreeD.Extrude3DStyle
behaviorProfile TextStudio.TextStudioBehaviorProfile
performanceProfile TextStudio.ThreeD.TextStudio3DPerformanceProfile
meshDetail TextStudio.ThreeD.TextStudio3DMeshDetailPreset
modules TextStudio.ThreeD.Module3DBase[]
namedSockets TextStudio.ThreeD.TextStudio3DNamedSocket[]

public TextStudio3DDesignPresetAsset()

public string DisplayName { get; }

Returns

System.String

public string Description { get; }

Returns

System.String

public string SampleText { get; }

Returns

System.String

public Extrude3DStyle AppearanceStyle { get; }

Returns

TextStudio.ThreeD.Extrude3DStyle

public TextStudioWritingStyleAsset WritingStyle { get; }

Returns

TextStudio.TextStudioWritingStyleAsset

public TextStudioBehaviorProfile BehaviorProfile { get; }

Returns

TextStudio.TextStudioBehaviorProfile

public TextStudio3DPerformanceProfile PerformanceProfile { get; }

Returns

TextStudio.ThreeD.TextStudio3DPerformanceProfile

public TextStudio3DMeshDetailPreset MeshDetail { get; }

Returns

TextStudio.ThreeD.TextStudio3DMeshDetailPreset

public int ModuleCount { get; }

Returns

System.Int32

public int NamedSocketCount { get; }

Returns

System.Int32