Toast Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
voxel_group.hpp
Go to the documentation of this file.
1
7
8
#pragma once
9
#include "
voxel.hpp
"
10
11
namespace
toast {
12
14
class
[[ToastNode, Icon(
"Container"
), Color(
"Magenta"
)]] TOAST_API
VoxelGroup
:
public
Voxel
{
15
public
:
17
[[nodiscard,
Reflect
]]
18
auto
getShape
() ->
Box<Node>
;
19
20
protected
:
21
void
updateInspectorMessages()
override
;
22
};
23
24
}
toast::Box
Intrusive reference-counted handle to a Node.
Definition
box.hpp:35
toast::Reflect
Definition
reflect.hpp:244
toast::VoxelGroup
Definition
voxel_group.hpp:14
toast::VoxelGroup::getShape
auto getShape() -> Box< Node >
Definition
voxel_group.cpp:19
toast::Voxel
Definition
voxel.hpp:14
voxel.hpp
Common base of every voxel node.
engine
src
toast
voxel
nodes
voxel_group.hpp
Generated by
1.17.0