Api Sandbox SceneSkyBox
class

SceneSkyBox

public class SceneSkyBox : SceneObject

Renders a skybox within a SceneWorld.

Constructors

SceneSkyBox(SceneWorld world, Material skyMaterial)

Properties

Name Type Description
SkyMaterial Material The skybox material. Typically it should use the "Sky" shader.
SkyTint Color Skybox color tint.
FogParams FogParamInfo Controls the skybox specific fog.

Methods

Void SetSkyLighting(Vector3 ConstantSkyLight)
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.SceneSkyBox