Toast Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
ambient_light.hpp
Go to the documentation of this file.
1
8
9
#pragma once
10
#include "
light.hpp
"
11
12
#include <
toast/export.hpp
>
13
14
namespace
toast {
15
class
[[ToastNode, Icon(
"Environment"
)]] TOAST_API AmbientLight :
public
Light {
16
public
:
17
AmbientLight() {
setLightType
(LightType::ambient); }
18
19
~AmbientLight()
override
=
default
;
20
21
private
:
22
};
23
}
toast::Light::setLightType
void setLightType(LightType type)
Tags the concrete light kind; called once from each subclass's own constructor body.
Definition
light.hpp:70
export.hpp
light.hpp
Base light node; registers with the renderer so it can be collected into the per-frame light list.
engine
src
toast
world
ambient_light.hpp
Generated by
1.17.0