Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

QualitySettings.blendWeights

Switch to Manual
public static BlendWeights blendWeights;

Description

Blend weights.

The Blend weights can be set to either One Bone, Two Bones or Four Bones.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { QualitySettings.blendWeights = BlendWeights.OneBone; } }

See Also: Quality Settings.