Syntax

dbSetMatrixTrim(MatrixID, TrimX, TrimY)

Description

This command will set the texture tile trim value of a matrix. The trim is a float value and determines how much of the edge of the texture tile is trimmed from the final rendered output. The texture tile is the visible tile that is drawn to a grid tile of the matrix, and can sometimes suffer from the 'ugly lines' scenario when filtering causes pixels from neighboring texture tiles to be rendered. The trim value ensures these pixels can be ignored by moving the area to be used away from the neighboring texture tile.

See Also

dbSetMatrix, dbSetMatrixHeight, dbSetMatrixNormal, dbSetMatrixPriority, dbSetMatrixTile