SABoneColliderCommon.SplitProperty
A class in Root.Township, the global namespace.
Settings for how the SA collider builder (a third-party editor tool) splits a skinned mesh by bone weight before making bone colliders. Editor data only, nothing in game code reads it.
- Listed in Global namespace: S
- Nested in
SABoneColliderCommon
Constructors
| Member | What it is |
|---|---|
SplitProperty() | Creates a SABoneColliderCommon.SplitProperty with default values. |
Fields
| Member | What it is |
|---|---|
SABoneColliderCommon.BoneTriangleExtent boneTriangleExtent | Probably how many of a triangle's vertices must belong to a bone for it to count (Disable, Vertex2 or Vertex1). Default Vertex2. |
int boneWeight2 | Weight threshold (percent, default 50) used when splitting with two bone influences. |
int boneWeight3 | Weight threshold (percent, default 33) used with three bone influences. |
int boneWeight4 | Weight threshold (percent, default 25) used with four bone influences. |
SABoneColliderCommon.BoneWeightType boneWeightType | Whether splitting looks at two or four bone weights per vertex (Bone2 or Bone4). |
bool greaterBoneWeight | Probably assigns a vertex only to its heaviest bone when true. Default true. |
Methods
| Member | What it is |
|---|---|
SABoneColliderCommon.SplitProperty ShallowCopy() | Returns a member-by-member copy of these settings. |
Used in
Members of other types that take, return or hold a SplitProperty: