Aracılığıyla paylaş


BoneWeight Constructor

Note

This constructor is available only when developing for Windows.

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

Syntax

'Declaration
Public Sub New ( _
         boneName As String, _
         weight As Single _
)
public BoneWeight (
         string boneName,
         float weight
)
public:
BoneWeight(
         String boneName,
         float weight
)

Parameters

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

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP