Skip to main content

PlayerControllerSettings

A class in Root.Township, Alta.Character.

An asset holding the settings for the parts of a player's body rig: body, clavicles, elbows, eye focus, hands and ghost hands.

Constructors​

MemberWhat it is
PlayerControllerSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

10 private and internal fields
MemberWhat it is
private BodyControllerSettings bodyControllerSettingsBacking field for BodyControllerSettings.
private ClavicleControllerSettings clavicleControllerSettingsBacking field for ClavicleControllerSettings.
private HandSettings controllerSettingsBacking field for ControllerSettings, a second HandSettings asset kept apart from handSettings.
private ElbowControllerSettings elbowControllerSettingsBacking field for ElbowControllerSettings.
private ElbowDataPointSet elbowDataPointSetBacking field for ElbowDataPointSet, the elbow pose data the arm IK reads.
private EyeFocusControllerSettings eyeFocusDetectionSettingsBacking field for EyeFocusDetectionSettings.
private GhostHandSettings ghostHandSettingsBacking field for GhostHandSettings.
private HandSettings handSettingsBacking field for HandSettings.
private bool isDebuggingBacking field for IsDebugging, an inspector debug toggle for the player rig.
private LayerMask saveRaycastLayerBacking field for SaveRaycastLayer, a layer mask. Nothing in the decompiled code reads it.

Properties​

MemberWhat it is
BodyControllerSettings BodyControllerSettings { get; }Settings asset for the player's body controller.
ClavicleControllerSettings ClavicleControllerSettings { get; }Settings asset for the clavicle (shoulder) part of the arm rig.
HandSettings ControllerSettings { get; }Hand settings for the controllers. A separate field from HandSettings.
ElbowControllerSettings ElbowControllerSettings { get; }Settings asset for placing the elbows in the arm IK.
ElbowDataPointSet ElbowDataPointSet { get; set; }Recorded elbow data points used to place the elbows.
EyeFocusControllerSettings EyeFocusDetectionSettings { get; }Settings asset for detecting what the player is looking at.
GhostHandSettings GhostHandSettings { get; }Settings asset for the player's ghost hands.
HandSettings HandSettings { get; }Hand settings for the player rig.
bool IsDebugging { get; }Debug flag set in the asset.
LayerMask SaveRaycastLayer { get; }Layer mask set in the asset for save raycasts.

Used in​

Members of other types that take, return or hold a PlayerControllerSettings: