SkinWeights
Skin weights.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum SkinWeights
Remarks
How many bones affect each vertex. This can be used when accessing the Bone Weight Buffer with Mesh.GetBoneWeightBuffer to determine what way the data will be ordered.
Additional Resources: QualitySettings.skinWeights, SkinnedMeshRenderer.quality, Mesh.GetBoneWeightBuffer.
Fields
Value | Description |
|---|---|
| FourBones | Four bones affect each vertex. When used to access the Bone Weight buffer will contain one per vertex. |
| None | The mesh does not contain any bone weight data. |
| OneBone | One bone affects each vertex. When used to access Mesh.GetBoneWeightBuffer the Bone Weight buffer will contain only indices to the bones, as the weight will be set to 1. |
| TwoBones | Two bones affect each vertex. When used to access Mesh.GetBoneWeightBuffer the Bone Weight buffer will contain two indices and two floats per vertex. |
| Unlimited | An unlimited number of bones affect each vertex. |