Color ColorTint { get; set; }

robot_2Generated
code_blocksInput

Description

The ColorTint property represents the color tint applied to a SceneObject. This property allows you to modify the appearance of the object by changing its color, which can be useful for visual effects or distinguishing objects in a scene.

Usage

To use the ColorTint property, simply get or set its value using a Color object. This property is not static, so it must be accessed through an instance of SceneObject.

Example

// Example of setting the ColorTint property
SceneObject mySceneObject = new SceneObject();
mySceneObject.ColorTint = new Color(1.0f, 0.5f, 0.5f, 1.0f); // Set to a light red tint

// Example of getting the ColorTint property
Color currentTint = mySceneObject.ColorTint;
// Use currentTint as needed