s&box docs

public sealed class Sandbox.EnvmapProbe : Sandbox.Component

A cubemap probe that captures the environment around it.

Constructors

Showing 1 constructors

Methods

Showing 2 methods

public System.Threading.Tasks.Task Bake(System.Threading.CancellationToken ct = null)

Bake this envmap now. This will stop it being dynamic if it was.

Parameters

  • ct: Default: null

public static System.Threading.Tasks.Task BakeAll()

Properties

Showing 18 properties

public Sandbox.Texture Sandbox.EnvmapProbe.BakedTexture { get; set; }

The texture that was baked for this envmap probe

public virtual int Sandbox.EnvmapProbe.ComponentVersion { get; set; }

public float Sandbox.EnvmapProbe.DelayBetweenUpdates { get; set; }

public float Sandbox.EnvmapProbe.Feathering { get; set; }

public int Sandbox.EnvmapProbe.FrameInterval { get; set; }

public float Sandbox.EnvmapProbe.MaxDistance { get; set; }

Only update dynamically if we're this close to it

public bool Sandbox.EnvmapProbe.MultiBounce { get; set; }

Minimum amount of reflection bounces to render when first enabled before settling, at cost of extra performance on load Often times you don't need this

public int Sandbox.EnvmapProbe.Priority { get; set; }

Gets or sets the priority level for the object.

public bool Sandbox.EnvmapProbe.RenderDynamically { get; set; }Obsolete

Obsolete: Use Mode to select the update mode

public Sandbox.Texture Sandbox.EnvmapProbe.Texture { get; set; }

If this is set, the EnvmapProbe will use a custom cubemap texture instead of rendering dynamically

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.EnvmapProbe

On this page