Skip to main content

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.

Constructors​

MemberWhat it is
SplitProperty()Creates a SABoneColliderCommon.SplitProperty with default values.

Fields​

MemberWhat it is
SABoneColliderCommon.BoneTriangleExtent boneTriangleExtentProbably how many of a triangle's vertices must belong to a bone for it to count (Disable, Vertex2 or Vertex1). Default Vertex2.
int boneWeight2Weight threshold (percent, default 50) used when splitting with two bone influences.
int boneWeight3Weight threshold (percent, default 33) used with three bone influences.
int boneWeight4Weight threshold (percent, default 25) used with four bone influences.
SABoneColliderCommon.BoneWeightType boneWeightTypeWhether splitting looks at two or four bone weights per vertex (Bone2 or Bone4).
bool greaterBoneWeightProbably assigns a vertex only to its heaviest bone when true. Default true.

Methods​

MemberWhat 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: