Table of Contents

Struct BoneWeight

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly
MonoGame.Framework.Content.Pipeline.dll

Provides properties for managing a bone weight.

public struct BoneWeight
Inherited Members

Constructors

BoneWeight(string, float)

Initializes a new instance of BoneWeight with the specified name and weight.

public BoneWeight(string boneName, float weight)

Parameters

boneName string

Name of the bone.

weight float

Amount of influence, ranging from zero to one.

Properties

BoneName

Gets the name of the bone.

public string BoneName { get; }

Property Value

string

Weight

Gets the amount of bone influence, ranging from zero to one. The complete set of weights in a BoneWeightCollection should sum to one.

public float Weight { get; }

Property Value

float