API ReferenceSandbox
public sealed class Sandbox.EnvmapProbe : Sandbox.Component
A cubemap probe that captures the environment around it.
Constructors
Showing 1 constructors
public EnvmapProbe()
No results match this filter.
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()
No results match this filter.
Properties
Showing 18 properties
public Sandbox.Texture Sandbox.EnvmapProbe.BakedTexture { get; set; }
The texture that was baked for this envmap probe
public BBox Sandbox.EnvmapProbe.Bounds { get; set; }
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 Sandbox.EnvmapProbe.EnvmapProbeMode Sandbox.EnvmapProbe.Mode { get; set; }
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 Sandbox.SceneCubemap.ProjectionMode Sandbox.EnvmapProbe.Projection { get; set; }
public bool Sandbox.EnvmapProbe.RenderDynamically { get; set; }Obsolete
Obsolete: Use Mode to select the update mode
public Sandbox.EnvmapProbe.CubemapResolution Sandbox.EnvmapProbe.Resolution { get; set; }
Resolution of the cubemap texture
public Sandbox.Texture Sandbox.EnvmapProbe.Texture { get; set; }
If this is set, the EnvmapProbe will use a custom cubemap texture instead of rendering dynamically
public Color Sandbox.EnvmapProbe.TintColor { get; set; }
public Sandbox.EnvmapProbe.CubemapDynamicUpdate Sandbox.EnvmapProbe.UpdateStrategy { get; set; }
public float Sandbox.EnvmapProbe.ZFar { get; set; }
public float Sandbox.EnvmapProbe.ZNear { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.EnvmapProbe |