QualitySettings.blendWeights Manual     Reference     Scripting  
Scripting > Runtime Classes > QualitySettings
QualitySettings.blendWeights

static var blendWeights : BlendWeights

Description

Blend weights.

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

JavaScript
// Set Blend weights to one bone.

QualitySettings.blendWeights = BlendWeights.OneBone;

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
QualitySettings.blendWeights = BlendWeights.OneBone

See Also: Quality Settings.