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.
- Listed in Players and characters
- Inherits or implements
ScriptableObject - Derived types
PlayerControllerSettings.Create - Nested types
Create
Constructors
| Member | What it is |
|---|---|
PlayerControllerSettings() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
10 private and internal fields
| Member | What it is |
|---|---|
private BodyControllerSettings bodyControllerSettings | Backing field for BodyControllerSettings. |
private ClavicleControllerSettings clavicleControllerSettings | Backing field for ClavicleControllerSettings. |
private HandSettings controllerSettings | Backing field for ControllerSettings, a second HandSettings asset kept apart from handSettings. |
private ElbowControllerSettings elbowControllerSettings | Backing field for ElbowControllerSettings. |
private ElbowDataPointSet elbowDataPointSet | Backing field for ElbowDataPointSet, the elbow pose data the arm IK reads. |
private EyeFocusControllerSettings eyeFocusDetectionSettings | Backing field for EyeFocusDetectionSettings. |
private GhostHandSettings ghostHandSettings | Backing field for GhostHandSettings. |
private HandSettings handSettings | Backing field for HandSettings. |
private bool isDebugging | Backing field for IsDebugging, an inspector debug toggle for the player rig. |
private LayerMask saveRaycastLayer | Backing field for SaveRaycastLayer, a layer mask. Nothing in the decompiled code reads it. |
Properties
| Member | What 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: