Share via


Frame Class (Microsoft.DirectX.Direct3D)

Encapsulates a transform frame in a transformation frame hierarchy.

Definition

Visual Basic MustInherit Public Class Frame
    Inherits ObjectLeave Site
C# public abstract class Frame : ObjectLeave Site
C++ public ref class Frame abstract : ObjectLeave Site
JScript public abstract class Frame extends ObjectLeave Site

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
static (Shared in Visual Basic) AppendChild Adds a child frame to a frame.
static (Shared in Visual Basic) CalculateBoundingSphere Computes the bounding sphere of all meshes in the frame hierarchy.
static (Shared in Visual Basic) Destroy Destroys the subtree of frames under the root, including the root.
Finalize Allows the Frame object to free resources before it is destroyed by the garbage collector.
static (Shared in Visual Basic) Find Finds the child frame of a root frame.
Frame Initializes a new instance of the Frame class.
static (Shared in Visual Basic) GetNumberNamedMatrices Retrieves the number of frames in a subtree that have non-null names.
static (Shared in Visual Basic) RegisterNamedMatrices Given a frame hierarchy, registers all named matrices in the animation mixer.

Properties

Property Description
FrameFirstChild Retrieves the first child of the frame.
FrameSibling Retrieves the first sibling of the current frame in the hierarchy.
MeshContainer Retrieves or sets a MeshContainer object in a transformation frame hierarchy.
Name Retrieves or sets the name of a frame.
TransformationMatrix Retrieves or sets the transformation Matrix of a frame.

Inheritance Hierarchy

ObjectLeave Site

Frame

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492