ドキュメント

Unity Engine

Unity Engine

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.

Fields

Value

Description

FourBonesFour bones affect each vertex. When used to access the Bone Weight buffer will contain one per vertex.
NoneThe mesh does not contain any bone weight data.
OneBoneOne 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.
TwoBonesTwo bones affect each vertex. When used to access Mesh.GetBoneWeightBuffer the Bone Weight buffer will contain two indices and two floats per vertex.
UnlimitedAn unlimited number of bones affect each vertex.