Class ProbesRenderer
Probes rendering service
Inheritance
ProbesRenderer
Inherited Members
ProbesRenderer
Assembly: FlaxEngine.dll
File: Engine/Renderer/ProbesRenderer.h
Syntax
public class ProbesRenderer
Fields
OnFinishBake
Declaration
public static Delegate<Entry> OnFinishBake
Field Value
Delegate<Entry>
|
OnRegisterBake
Declaration
public static Delegate<Entry> OnRegisterBake
Field Value
Delegate<Entry>
|
ProbesReleaseDataTime
Time after last probe update when probes updating content will be released
Declaration
public static TimeSpan ProbesReleaseDataTime
Field Value
TimeSpan
|
ProbesUpdatedBreak
Minimum amount of time between two updated of probes
Declaration
public static TimeSpan ProbesUpdatedBreak
Field Value
TimeSpan
|
Methods
Bake(EnvironmentProbe* probe, float timeout = 0)
Register probe to baking service.
Declaration
public static void Bake(EnvironmentProbe* probe, float timeout = 0)
Parameters
EnvironmentProbe
probe
Probe to bake |
float
timeout
Timeout in seconds left to bake it. |
Bake(SkyLight* probe, float timeout = 0)
Register probe to baking service.
Declaration
public static void Bake(SkyLight* probe, float timeout = 0)
Parameters
SkyLight
probe
Probe to bake |
float
timeout
Timeout in seconds left to bake it. |
GetBakeQueueSize()
Declaration
public int32 GetBakeQueueSize()
Returns
int32
|
HasReadyResources()
Checks if resources are ready to render probes (shaders or textures may be during loading).
Declaration
public static bool HasReadyResources()
Returns
bool
True if is ready, otherwise false. |
Init()
Init probes content
Declaration
public static bool Init()
Returns
bool
True if cannot init service |
Release()
Release probes content
Declaration
public static void Release()