TextStudio3DDesignPresetAsset
public sealed class TextStudio3DDesignPresetAsset : ScriptableObjectReusable apply-once 3D design recipe assembled from established Text Studio owners. The recipe itself is never retained by the renderer after application.
Methods
Section titled “Methods”
GetModule(int)
Section titled “GetModule(int)”public Module3DBase GetModule(int index)Returns one referenced 3D module without allocating.
Parameters
| Name | Type |
|---|---|
index |
System.Int32 |
Returns
TextStudio.ThreeD.Module3DBase
GetNamedSocket(int)
Section titled “GetNamedSocket(int)”public TextStudio3DNamedSocket GetNamedSocket(int index)Returns one authored named-socket definition.
Parameters
| Name | Type |
|---|---|
index |
System.Int32 |
Returns
TextStudio.ThreeD.TextStudio3DNamedSocket
ApplyTo(TextStudio3DText)
Section titled “ApplyTo(TextStudio3DText)”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[] |
Constructors
Section titled “Constructors”
TextStudio3DDesignPresetAsset()
Section titled “TextStudio3DDesignPresetAsset()”public TextStudio3DDesignPresetAsset()Properties
Section titled “Properties”
DisplayName
Section titled “DisplayName”public string DisplayName { get; }Returns
System.String
Description
Section titled “Description”public string Description { get; }Returns
System.String
SampleText
Section titled “SampleText”public string SampleText { get; }Returns
System.String
AppearanceStyle
Section titled “AppearanceStyle”public Extrude3DStyle AppearanceStyle { get; }Returns
TextStudio.ThreeD.Extrude3DStyle
WritingStyle
Section titled “WritingStyle”public TextStudioWritingStyleAsset WritingStyle { get; }Returns
TextStudio.TextStudioWritingStyleAsset
BehaviorProfile
Section titled “BehaviorProfile”public TextStudioBehaviorProfile BehaviorProfile { get; }Returns
TextStudio.TextStudioBehaviorProfile
PerformanceProfile
Section titled “PerformanceProfile”public TextStudio3DPerformanceProfile PerformanceProfile { get; }Returns
TextStudio.ThreeD.TextStudio3DPerformanceProfile
MeshDetail
Section titled “MeshDetail”public TextStudio3DMeshDetailPreset MeshDetail { get; }Returns
TextStudio.ThreeD.TextStudio3DMeshDetailPreset
ModuleCount
Section titled “ModuleCount”public int ModuleCount { get; }Returns
System.Int32
NamedSocketCount
Section titled “NamedSocketCount”public int NamedSocketCount { get; }Returns
System.Int32