Share via


BoneWeight Constructor

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

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

public BoneWeight (
         string boneName,
         float weight
)

Parameters

  • boneName
    Name of the bone.
  • weight
    Amount of influence, ranging from zero to one.

See Also

Reference

BoneWeight Structure
BoneWeight Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista