Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PrefabInstanceBoundsCalculator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/Mirror.h"
7#include "mc/util/Rotation.h"
8
9// auto generated forward declare list
10// clang-format off
11class BoundingBox;
12class Vec3;
13namespace Editor::Prefabs { class PrefabDBPrefabInstance; }
14namespace Editor::Prefabs { class PrefabDBTemplate; }
15// clang-format on
16
17namespace Editor::Prefabs {
18
20public:
21 // static functions
22 // NOLINTBEGIN
23 MCNAPI static ::BoundingBox calculate(
25 ::Vec3 const& position,
26 ::Mirror mirror,
27 ::Rotation rotation
28 );
29
30 MCNAPI static ::BoundingBox calculate(
31 ::Editor::Prefabs::PrefabDBTemplate const& prefabTemplate,
32 ::Vec3 const& position,
33 ::Mirror mirror,
34 ::Rotation rotation
35 );
36 // NOLINTEND
37};
38
39} // namespace Editor::Prefabs
Definition BoundingBox.h:13
Definition PrefabDBPrefabInstance.h:24
Definition PrefabDBTemplate.h:24
Definition PrefabInstanceBoundsCalculator.h:19
static MCAPI ::BoundingBox calculate(::Editor::Prefabs::PrefabDBPrefabInstance const &instance, ::Vec3 const &position, ::Mirror mirror, ::Rotation rotation)
static MCAPI ::BoundingBox calculate(::Editor::Prefabs::PrefabDBTemplate const &prefabTemplate, ::Vec3 const &position, ::Mirror mirror, ::Rotation rotation)
Definition Vec3.h:10