Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::reflection_probe Struct Reference

Structure representing a reflection probe. More...

#include <reflection_probe.h>

Classes

struct  box
 Structure representing box projection data. More...
 
struct  sphere
 Structure representing sphere projection data. More...
 

Public Member Functions

auto get_face_extents (uint32_t face, const math::transform &transform) const -> float
 
auto get_max_range () const -> float
 

Public Attributes

probe_type type = probe_type::box
 Type of the reflection probe.
 
reflect_method method = reflect_method::environment
 Reflection method.
 
float intensity = 1.0f
 Intensity.
 
box box_data
 Data describing box projection.
 
sphere sphere_data
 Data describing sphere projection.
 

Detailed Description

Structure representing a reflection probe.

Definition at line 35 of file reflection_probe.h.

Member Function Documentation

◆ get_face_extents()

auto unravel::reflection_probe::get_face_extents ( uint32_t face,
const math::transform & transform ) const -> float
inline

Definition at line 57 of file reflection_probe.h.

◆ get_max_range()

auto unravel::reflection_probe::get_max_range ( ) const -> float
inline

Definition at line 76 of file reflection_probe.h.

Member Data Documentation

◆ box_data

box unravel::reflection_probe::box_data

Data describing box projection.

Definition at line 96 of file reflection_probe.h.

◆ intensity

float unravel::reflection_probe::intensity = 1.0f

Intensity.

Definition at line 94 of file reflection_probe.h.

◆ method

reflect_method unravel::reflection_probe::method = reflect_method::environment

Reflection method.

Definition at line 92 of file reflection_probe.h.

◆ sphere_data

sphere unravel::reflection_probe::sphere_data

Data describing sphere projection.

Definition at line 98 of file reflection_probe.h.

◆ type

probe_type unravel::reflection_probe::type = probe_type::box

Type of the reflection probe.

Definition at line 90 of file reflection_probe.h.


The documentation for this struct was generated from the following file: