C3DMesh::EnableSphereMapping |
Top Previous Next |
Syntax:
EnableSphereMapping(int texturelayer)
Purpose: Enables sphere mapping for the mesh using the specified texture.
Parameters: texturelayer - The zero based texture to use.
Returned value(s): None.
Application: ' Load tiger.x mesh and enable sphere mapping on texture layer 0
Class Hierarchy -------C3DMesh
Additional Info: To turn off sphere mapping use -1 as the texturelayer parameter.
|