37 ES_PROPERTY(asset = environment, tooltip=
"The scene's baked reflections (the baker writes this).")
41 ES_PROPERTY(min=0, tooltip=
"Half the box this probe answers inside, from the entity's position.")
47 ES_PROPERTY(min=0, advanced, tooltip=
"Which column of the atlas this probe occupies (the baker writes this).")
51 ES_PROPERTY(tooltip=
"Off: what stands inside this box reflects the sky again.")
Type-safe resource handle system.
Reflection and metadata system for automatic binding generation.
#define ES_COMPONENT(...)
Mark a struct/class as a component that should be exposed to scripts.
#define ES_PROPERTY(...)
Mark a field as a property that should be exposed to scripts.
Core type definitions and utilities for ESEngine.
std::uint32_t u32
Unsigned 32-bit integer.
glm::vec3 halfExtents
Half the box this probe answers inside, in world units.
bool enabled
Disabled probes are skipped, and what stands inside reflects the sky.
u32 slot
Which column of the atlas holds it. Column 0 is the environment — what a surface outside every probe ...
resource::EnvironmentHandle reflection
The scene's baked reflections — an .esenv whose atlas holds a column per probe. The baker writes it; ...
ReflectionProbe()=default