IDirect3DRMFace

Applications use the methods of the IDirect3DRMFace interface to interact with a single polygon in a mesh. This section is a reference to the methods of this interface. For a conceptual overview, see IDirect3DRMFace and IDirect3DRMFaceArray Interfaces.

The methods of the IDirect3DRMFace interface can be organized into the following groups:

Color GetColor
  SetColor
  SetColorRGB
Materials GetMaterial
  SetMaterial
Textures GetTexture
  GetTextureCoordinateIndex
  GetTextureCoordinates
  GetTextureTopology
  SetTexture
  SetTextureCoordinates
  SetTextureTopology
Vertices and normals AddVertex
  AddVertexAndNormalIndexed
  GetNormal
  GetVertex
  GetVertexCount
  GetVertexIndex
  GetVertices

The IDirect3DRMFace interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

AddRef

QueryInterface

Release

In addition, the IDirect3DRMFace interface inherits the following methods from the IDirect3DRMObject interface:

AddDestroyCallback

Clone

DeleteDestroyCallback

GetAppData

GetClassName

GetName

SetAppData

SetName

The Direct3DRMFace object is obtained by calling the IDirect3DRM::CreateFace method.