Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseBlend weights.
The Blend weights can be set to either One Bone, Two Bones or Four Bones.
// Set Blend weights to one bone.
QualitySettings.blendWeights = BlendWeights.OneBone;
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { QualitySettings.blendWeights = BlendWeights.OneBone; } }
See Also: Quality Settings.