Class SceneSkybox2D
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
Renders a 2D skybox using a fullscreen cube.
csharp
public class SceneSkybox2DInheritance
Derived
Constructors
SceneSkybox2D(RenderMaterial)
Initializes a new instance of the class with the given material.
csharp
public SceneSkybox2D(RenderMaterial material)Parameters
material RenderMaterial
The material to use for skybox rendering.
Properties
Material
Gets the material used to render the skybox.
csharp
public RenderMaterial Material { get; }Property Value
Tint
Gets the color tint multiplied with the skybox texture during rendering.
csharp
public Vector3 Tint { get; init; }Property Value
Transform
Gets the rotation transform applied to the skybox cube.
csharp
public Matrix4x4 Transform { get; init; }Property Value
Methods
Render()
Renders the skybox using a fullscreen 36-vertex cube draw call.
csharp
public void Render()
