C3DMesh::SetVisible

Top  Previous  Next

Syntax:

 

SetVisible(int  bVisible)

 

Purpose:

Sets the visibility of the mesh.

 

Parameters:

bVisible - TRUE to render the mesh, FALSE otherwise.

 

Returned value(s):

None.

 

Application:

mymesh.SetVisible(TRUE)

 

Class Hierarchy

C3DObject

-------C3DMesh

 

Additional Info:

Custom meshes created with CreateMesh and CreateMeshEx are initially invisible.  Use this method to allow the mesh to draw.