Skip to content

TextStudio3DControlVisualStyle

StructTextStudio.ThreeDTextStudio.3D
public struct TextStudio3DControlVisualStyle

Describes label, surface, scale, and depth feedback for one combined control state.

TextStudio3DControlVisualStyle(Color32, float)

Section titled “TextStudio3DControlVisualStyle(Color32, float)”
public TextStudio3DControlVisualStyle(Color32 tint, float scale = 1)

Creates a label-focused state style with a neutral derived surface tint and no depth travel.

Parameters

Name Type
tint UnityEngine.Color32
scale System.Single

TextStudio3DControlVisualStyle(Color32, Color32, float, float)

Section titled “TextStudio3DControlVisualStyle(Color32, Color32, float, float)”
public TextStudio3DControlVisualStyle(Color32 labelTint, Color32 surfaceTint, float scale = 1, float depthOffset = 0)

Creates a complete control-state style with independent label and surface colors, scale, and local depth travel.

Parameters

Name Type
labelTint UnityEngine.Color32
surfaceTint UnityEngine.Color32
scale System.Single
depthOffset System.Single

public Color32 LabelTint { get; }

Returns

UnityEngine.Color32

public Color32 SurfaceTint { get; }

Returns

UnityEngine.Color32

public float Scale { get; }

Returns

System.Single

public float DepthOffset { get; }

Returns

System.Single