Unravel Engine C++ Reference
Loading...
Searching...
No Matches
volume_resolver.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  unravel
 

Functions

auto unravel::resolve_post_process_volumes (scene &scn, const math::vec3 &camera_pos, entt::handle camera_ent) -> resolved_post_process_settings
 Resolves post-process volumes for a camera position.
 

Variable Documentation

◆ contribution

float contribution

Definition at line 26 of file volume_resolver.cpp.

◆ enabled

bool enabled = false

Definition at line 43 of file volume_resolver.cpp.

◆ entity

entt::entity entity

Definition at line 25 of file volume_resolver.cpp.

◆ is_global

bool is_global

Definition at line 28 of file volume_resolver.cpp.

◆ priority

int priority

Definition at line 27 of file volume_resolver.cpp.

◆ seen

bool seen = false

Definition at line 42 of file volume_resolver.cpp.

◆ size

float size

World-space volume of the bounds (product of dimensions). Globals use the maximum value so a smaller, more specific local always wins a tie.

Definition at line 31 of file volume_resolver.cpp.