LeviLamina
Loading...
Searching...
No Matches
ModelPartLocator.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#include "mc/deps/core/string/HashedString.h"
9#include "mc/world/actor/SkeletalHierarchyIndex.h"
10
11class ModelPartLocator {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<4, 4, ::SkeletalHierarchyIndex> mSkeletalHierarchyIndex;
16 ::ll::TypedStorage<4, 4, int> mBoneMapping;
17 ::ll::TypedStorage<8, 48, ::HashedString> mBoneName;
18 ::ll::TypedStorage<8, 48, ::HashedString> mName;
19 ::ll::TypedStorage<4, 12, ::Vec3> mOffset;
20 ::ll::TypedStorage<4, 12, ::Vec3> mPosition;
21 ::ll::TypedStorage<4, 12, ::Vec3> mRotation;
22 ::ll::TypedStorage<1, 1, bool> mIgnoreInheritedScale;
23 ::ll::TypedStorage<4, 64, ::Matrix> mWorldAbsoluteTransform;
24 // NOLINTEND
25
26#ifdef LL_PLAT_S
27#else // LL_PLAT_C
28public:
29 // prevent constructor by default
30 ModelPartLocator();
31
32#endif
33public:
34 // member functions
35 // NOLINTBEGIN
36#ifdef LL_PLAT_C
37 MCAPI ModelPartLocator(
38 ::std::string const& name,
39 ::std::string const& boneName,
40 ::Vec3 const& localOffset,
41 bool ignoreInheritedScale
42 );
43
44 MCAPI bool compare(::ModelPartLocator const& rhs, bool compareSkeletalHierarchyIndexAndBoneMapping) const;
45
46 MCFOLD ::Matrix const& getWorldAbsoluteTransform() const;
47
48 MCAPI void setWorldAbsoluteTransform(::Matrix const& transform);
49#endif
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55#ifdef LL_PLAT_C
56 MCAPI void* $ctor(
57 ::std::string const& name,
58 ::std::string const& boneName,
59 ::Vec3 const& localOffset,
60 bool ignoreInheritedScale
61 );
62#endif
63 // NOLINTEND
64};
Definition Matrix.h:10
Definition Vec3.h:10