次の方法で共有


NodeContent.Animations Property

Gets the set of animations belonging to this node.

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

Syntax

public AnimationContentDictionary Animations { get; }

Property Value

Collection of animations for this content item.

Remarks

Note

The XNA Framework provides only partial support for animation. In the NodeContent class an intermediate object model for storing animation data inside the Content Pipeline is defined, which exposes data into that has been extracted from Autodesk FBX (.fbx) and DirectX X file (.x) formats. The built-in ModelProcessor also converts vertex channels of BoneWeightCollection data into sets of VertexElementUsage.BlendIndices and VertexElementUsage.BlendWeight channels suitable for skinned rendering on the GPU. However, the framework does not include any runtime animation classes at this time.

There can be any number of animations, which are looked up by name. For character skinning, the animation data is usually attached to the root of a bone hierarchy. However, it can potentially belong to any node. For example, when used for rigid body animation.

See Also

Reference

NodeContent Class
NodeContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista