struct
ecs::ReflectionProbe
ECS fragment storing reflection probe visual data (type, radius, extents, etc.).
Public
Methods
staticGetRttiStatic
static RTTIType *GetRttiStatic()
ComputeBounds
void ComputeBounds(const Transform &transform)
Computes the world space bounding sphere for a reflection probe and updates the Bounds field.
Fields
CustomTexture
HTexture CustomTexture
Optional custom cubemap texture.
When set, this is filtered instead of capturing the scene.
PendingTask
SPtr<render::RendererTask> PendingTask
Transient (not serialized).
In-flight capture/filter task, if any.
Type
Type of probe that determines how are the rest of the parameters interpreted.
Radius
float Radius
Radius used for sphere reflection probes.
Extents
Vector3 Extents
Extents used by box reflection probe.
TransitionDistance
float TransitionDistance
Extra distance to used for fading out box probes.
Bounds
Sphere Bounds
Sphere that bounds the probe area of influence.
FilteredTexture
SPtr<TextureType> FilteredTexture
Pre-filtered texture generated from custom texture or scene capture.