Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This method is available only when developing for Windows.
Normalizes the contents of the weights list.
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public void NormalizeWeights ()
Remarks
Normalization does the following:
- Sorts weights such that the most significant weight is first.
- Removes zero-value entries.
- Adjusts values so the sum equals one.
Throws InvalidContentException if all weights are zero.
See Also
Reference
BoneWeightCollection Class
BoneWeightCollection Members
NormalizeWeights
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP