Legacy Documentation: Version 2017.2 (Go to current version)
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.

Did you find this page useful? Please give it a rating: