C3DMesh
Class Description:
Mesh class for loading, creating and displaying geometry in the 3D world.
Class Methods:
BeginRenderCubeTexture
Sets the render target to the texture in this mesh.
BuildOctree
Builds an octree for the mesh.
CreateBox
Creates a box mesh or cube with the dimensions specified.
CreateCubeTexture
Creates a cubic environment texture used for rending the reflections of a scene.
CreateCylinder
Creates a cylinder mesh.
CreateMesh
Creates a custom mesh object.
CreateMeshEx
CreateRectangle
Creates a single rectangle mesh..
CreateSphere
Creates a sphere mesh..
EnableAlpha
Enables or disables alpha blending.
EnableLighting
Enables or disables lighting for this mesh.
EnableSphereMapping
Enables sphere mapping for a texture in the mesh.
EndRenderCubeTexture
Ends the process of rendering a face of a cubic environment texture..
GetID
Returns the user defined ID for this mesh.
GetIndexCount
Returns the number of indices stored in the index buffer of an object.
GetVertexCount
Returns the size of the vertex buffer used by the mesh object.
GetVertexFormat
Returns the flexible vertex format (FVF) of the mesh.
GetVertexSize
Returns the size of the vertex in bytes.
Load3DS
Loads a mesh from a 3D Studio format mesh file.
LoadMD2
Loads a mesh from a MD2 format file.
LoadSkinnedX
Loads a skinned X format mesh file..
LoadTexture
Loads and applies a texture from an image file.
LoadX
Loads an X format mesh file.
LockIndexBuffer
Locks the index buffer for direct reading/writing.
LockVertexBuffer
Locks the vertex buffer for direct reading/writing.
ReallocateMesh
Resizes the vertex and index buffers of the mesh.
RecalcBoundingBox
Recalculates the minimum bounding box of a mesh.
SetAlphaArg1
Sets the first alpha argument for the texture stage.
SetAlphaArg2
Sets the second alpha argument for the texture stage.
SetAlphaDest
Sets the destination alpha blend state..
SetAlphaOp
Sets the alpha operator for the render stage.
SetAlphaOperation
Sets the alpha operation for the texture stage.
SetAlphaSource
Sets the source alpha blend state.
SetAnimation
Sets the animation frames and times for an animated mesh.
SetAnimationMode
Sets the animation mode for an animated mesh.
SetColorArg1
Sets the first color argument for the texture stage.
SetColorArg2
Sets the second color argument for the texture stage.
SetColorOperation
Specifies the color operation used for the texture stage.
SetCulling
Sets the culling mode used when rendering the mesh.
SetFill
Sets the fill mode used when rendering the mesh.
SetID
Sets a user defined identifier.
SetMaterial
Sets the material values to use when rendering the mesh.
SetNamedAnimation
Selects a named animation set for MD2 format files.
SetShading
Sets the shading mode used when rendering the mesh.
SetVertexFormat
Specifies the vertex format (FVF) used by a custom mesh.
SetVertexSize
Specifies the vertex structure size used by a custom mesh.
SetVisible
Sets a mesh's visibility.
UnlockIndexBuffer
Unlocks the index buffer after writing.
UnlockVertexBuffer
Unlocks the vertex buffer after writing.
UpdateAllAnimations
Updates the animation frames of this mesh and all child mesh's.
UpdateAnimation
Updates the animation frames of this mesh..
UseVertexColor
Specifies whether a mesh uses vertex color instead of materials.
Located in:
ebx3d.incc
Class Hierarchy
C3DObject
-------C3DMesh