TextStudio3DControlVisualStyle
public struct TextStudio3DControlVisualStyleDescribes label, surface, scale, and depth feedback for one combined control state.
Constructors
Section titled “Constructors”
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 |
Properties
Section titled “Properties”
LabelTint
Section titled “LabelTint”public Color32 LabelTint { get; }Returns
UnityEngine.Color32
SurfaceTint
Section titled “SurfaceTint”public Color32 SurfaceTint { get; }Returns
UnityEngine.Color32
public float Scale { get; }Returns
System.Single
DepthOffset
Section titled “DepthOffset”public float DepthOffset { get; }Returns
System.Single