Syntax

dbSetMatrix(MatrixID, Wire, Transparency, Cull, Filter, Light, Fog, Ambient)

Description

This command will change the visual properties of the matrix. When the wireframe flag is set to 1, the matrix only shows it's wireframe form. When the transparency flag is set to 1, all parts of the matrix colored black are not drawn to the screen. When the cull flag is set to 0, the matrix will draw polygons normally hidden due to the direction the polygon faces. The Filter Value sets the texture filtering, which controls the smoothing effect of the texture as it is mapped to the object. A Filter value of zero does no mipmapping, a value of one uses no smoothing and a value of two uses Linear Filtering. The Light Flag activates and deactivates the matrices sensitivity to any lights in the scene. The Fog Flag activates and deactivates the matrices sensitivity to fog in the scene. The Ambient Flag activates and deactivates the matrices sensitivity to ambient light in the scene.

See Also

dbMatrixWireframeState, dbSetMatrixHeight, dbSetMatrixNormal, dbSetMatrixPriority, dbSetMatrixTile, dbSetMatrixTrim