BoneWeight.BoneWeight Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)
Initializes a new instance of BoneWeight with the specified name and weight.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public BoneWeight( string boneName, float weight )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- boneName
-
Type: System.String
Name of the bone.
- weight
-
Type: System.Single
Amount of influence, ranging from zero to one.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop