Table of Contents

Class WitPoseVisualSettings

Namespace
WitShells.WitPose

Singleton ScriptableObject that stores visual settings for WitPose editor Automatically loads from Resources and persists between sessions

public class WitPoseVisualSettings : ScriptableObject
Inheritance
WitPoseVisualSettings

Fields

connectionColor

public Color connectionColor

Field Value

Color

constrainedColor

public Color constrainedColor

Field Value

Color

freeModeColor

public Color freeModeColor

Field Value

Color

gizmoSize

public float gizmoSize

Field Value

float

kneeBendColor

public Color kneeBendColor

Field Value

Color

kneeBendGizmoSize

public float kneeBendGizmoSize

Field Value

float

kneeBendRange

public float kneeBendRange

Field Value

float

maxKneeBendAngle

public float maxKneeBendAngle

Field Value

float

normalColor

public Color normalColor

Field Value

Color

selectedColor

public Color selectedColor

Field Value

Color

showBoneLabels

public bool showBoneLabels

Field Value

bool

showConnections

public bool showConnections

Field Value

bool

showConstraintVisuals

public bool showConstraintVisuals

Field Value

bool

Properties

Instance

Get singleton instance, loading from Resources or creating if needed

public static WitPoseVisualSettings Instance { get; }

Property Value

WitPoseVisualSettings

Methods

ResetToDefaults()

Reset to default values

public void ResetToDefaults()

SaveSettings()

Save settings to disk (Editor only)

public void SaveSettings()