Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BoneOrientation.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/molang/MolangVersion.h"
10#include "mc/util/molang/ExpressionNode.h"
11#include "mc/world/actor/SkeletalHierarchyIndex.h"
12#include "mc/world/actor/animation/BoneAnimationRelativeMode.h"
13#include "mc/world/actor/animation/BoneBindingMethod.h"
14#include "mc/world/actor/animation/BoneOrientationTransform.h"
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, int> mParentBoneIndex;
21 ::ll::TypedStorage<4, 4, ::SkeletalHierarchyIndex> mParentSkeletalHierarchyIndex;
22 ::ll::TypedStorage<8, 48, ::HashedString> mName;
23 ::ll::TypedStorage<4, 64, ::Matrix> mMatrix;
24 ::ll::TypedStorage<4, 36, ::BoneOrientationTransform> mTransform;
25 ::ll::TypedStorage<4, 36, ::BoneOrientationTransform> mDefaultTransform;
26 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Matrix>> mLocalPreTransformMatrix;
27 ::ll::TypedStorage<8, 16, ::ExpressionNode> mBoneBindingExpression;
28 ::ll::TypedStorage<4, 12, ::Vec3> mPivot;
29 ::ll::TypedStorage<1, 1, ::BoneBindingMethod> mBoneBindingMethod;
30 ::ll::TypedStorage<1, 1, ::BoneAnimationRelativeMode> mRotationRelativeMode;
31 ::ll::TypedStorage<1, 1, bool> mOverrideStackMatrix;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCNAPI BoneOrientation();
39
41
42 MCNAPI explicit BoneOrientation(::HashedString const& boneName);
43
44 MCNAPI BoneOrientation(::BoneOrientation const& rhs);
45
46 MCNAPI ::BoneOrientation& operator=(::BoneOrientation const& rhs);
47
48 MCNAPI void setBoneBindingExpression(::std::string const& bindingExpression, ::MolangVersion molangVersion);
49
50 MCNAPI void LL_CC_V updateBoneTransform(::Vec3 const* offset, ::DirectX::XMMATRIX& boneToEntitySpaceMatrix);
51
52 MCNAPI ~BoneOrientation();
53#endif
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59#ifdef LL_PLAT_C
60 MCNAPI static ::BoneOrientation& getIdentityBoneOrientation();
61#endif
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67#ifdef LL_PLAT_C
68 MCNAPI void* $ctor();
69
70 MCNAPI void* $ctor(::BoneOrientation&&);
71
72 MCNAPI void* $ctor(::HashedString const& boneName);
73
74 MCNAPI void* $ctor(::BoneOrientation const& rhs);
75#endif
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81#ifdef LL_PLAT_C
82 MCNAPI void $dtor();
83#endif
84 // NOLINTEND
85};
Definition BoneOrientation.h:16
Definition HashedString.h:5
Definition Vec3.h:10