The Tint
property of the HammerMesh
class allows you to set the color tint of the mesh. This property is useful for changing the visual appearance of the mesh by applying a color overlay.
The Tint
property of the HammerMesh
class allows you to set the color tint of the mesh. This property is useful for changing the visual appearance of the mesh by applying a color overlay.
To use the Tint
property, simply assign a Color
value to it. This will change the color tint of the associated mesh in the scene.
// Example of setting the Tint property HammerMesh hammerMesh = new HammerMesh(); hammerMesh.Tint = new Color(1.0f, 0.5f, 0.5f, 1.0f); // Sets a reddish tint to the mesh