Transform Transform { get; set; }

robot_2Generated
code_blocksInput

Description

The Transform property of the CubemapFogController class represents the location of the fog in the scene. This property is crucial for determining where the fog effect is applied within the game world.

Usage

To use the Transform property, you can access it directly from an instance of the CubemapFogController class. This property allows you to get or set the position, rotation, and scale of the fog effect in the game world.

Example

// Example of setting the Transform property
CubemapFogController fogController = new CubemapFogController();

// Set the position of the fog
fogController.Transform.Position = new Vector3(0, 10, 0);

// Set the rotation of the fog
fogController.Transform.Rotation = Rotation.From(0, 45, 0);

// Set the scale of the fog
fogController.Transform.Scale = new Vector3(1, 1, 1);