LeviLamina
Loading...
Searching...
No Matches
BlockTransformationComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Matrix.h"
7#include "mc/deps/core/math/Vec3.h"
8
9class BlockTransformationComponent {
10public:
11 // BlockTransformationComponent inner types declare
12 // clang-format off
13 struct RotationType;
14 struct ScaleType;
15 // clang-format on
16
17 // BlockTransformationComponent inner types define
18 struct RotationType {
19 public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 4, int> x;
23 ::ll::TypedStorage<4, 4, int> y;
24 ::ll::TypedStorage<4, 4, int> z;
25 ::ll::TypedStorage<4, 12, ::Vec3> pivot;
26 // NOLINTEND
27 };
28
29 struct ScaleType {
30 public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<4, 12, ::Vec3> value;
34 ::ll::TypedStorage<4, 12, ::Vec3> pivot;
35 // NOLINTEND
36 };
37
38public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::TypedStorage<1, 1, bool> mShouldHandleSchematicValidation;
42 ::ll::TypedStorage<4, 12, ::Vec3> mTranslation;
43 ::ll::TypedStorage<4, 24, ::BlockTransformationComponent::RotationType> mRotation;
44 ::ll::TypedStorage<4, 24, ::BlockTransformationComponent::ScaleType> mScale;
45 ::ll::TypedStorage<4, 64, ::Matrix> mTransformationMatrix;
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
50 BlockTransformationComponent();
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI BlockTransformationComponent(
56 ::Vec3 const& translation,
59 );
60
61#ifdef LL_PLAT_C
62 MCAPI ::Vec3 getRotationDegrees() const;
63
64 MCFOLD ::BlockTransformationComponent::RotationType const& getRotationType() const;
65
66 MCFOLD ::Vec3 const& getScale() const;
67#endif
68
69 MCFOLD ::Matrix const& getTransformationMatrix() const;
70
71#ifdef LL_PLAT_C
72 MCFOLD ::Vec3 const& getTranslation() const;
73
74 MCFOLD bool shouldHandleSchematicValidation() const;
75#endif
76 // NOLINTEND
77
78public:
79 // constructor thunks
80 // NOLINTBEGIN
81 MCAPI void* $ctor(
82 ::Vec3 const& translation,
85 );
86 // NOLINTEND
87};
Definition Vec3.h:10
Definition BlockTransformationComponent.h:18
Definition BlockTransformationComponent.h:29