Class SceneEnvMap
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
Environment map reflection probe with box or sphere projection.
public class SceneEnvMap : SceneNodeInheritance
object ← SceneNode ← SceneEnvMap
Inherited Members
SceneNode.Transform, SceneNode.LayerName, SceneNode.LayerEnabled, SceneNode.BoundingBox, SceneNode.LocalBoundingBox, SceneNode.Name, SceneNode.Id, SceneNode.IsSelected, SceneNode.Flags, SceneNode.Scene, SceneNode.EnvMaps, SceneNode.ShaderEnvMapVisibility, SceneNode.LightingOrigin, SceneNode.OverlayRenderOrder, SceneNode.CubeMapPrecomputedHandshake, SceneNode.LightProbeVolumePrecomputedHandshake, SceneNode.LightProbeBinding, SceneNode.EntityData, SceneNode.Update(Scene.UpdateContext), SceneNode.Render(Scene.RenderContext), SceneNode.GetSupportedRenderModes(), SceneNode.SetRenderMode(string), SceneNode.Delete(), SceneNode.GetCameraDistance(Camera)
Constructors
SceneEnvMap(Scene, AABB)
Initializes a new instance of the class with the given local-space bounds.
public SceneEnvMap(Scene scene, AABB bounds)Parameters
scene Scene
The scene this node belongs to.
bounds AABB
The local-space bounds of the env map volume.
Properties
ArrayIndex
If is an array, this is the depth index.
public int ArrayIndex { get; init; }Property Value
EdgeFadeDists
Gets the per-axis edge fade distances used for box projection blending.
public Vector3 EdgeFadeDists { get; init; }Property Value
EnvMapTexture
Gets the cubemap or cubemap-array texture for this environment map.
public required RenderTexture EnvMapTexture { get; init; }Property Value
HandShake
Gets the handshake value used to match this env map to scene nodes during precomputation.
public int HandShake { get; init; }Property Value
IndoorOutdoorLevel
If multiple volumes contain an object, the highest priority volume takes precedence.
public int IndoorOutdoorLevel { get; init; }Property Value
ProjectionMode
0 = Sphere, 1 = Box
public int ProjectionMode { get; init; }Property Value
ShaderIndex
Gets or sets the shader-side index assigned to this env map for UBO packing.
public int ShaderIndex { get; set; }Property Value
Tint
Gets the color tint applied to reflections from this env map.
public Vector3 Tint { get; init; }
