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/world/actor/SkeletalHierarchyIndex.h"
10#include "mc/world/actor/animation/BoneAnimationRelativeMode.h"
11#include "mc/world/actor/animation/BoneBindingMethod.h"
12#include "mc/world/actor/animation/BoneOrientationTransform.h"
13
14// auto generated forward declare list
15// clang-format off
16class ExpressionNode;
17// clang-format on
18
19class BoneOrientation {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, int> mParentBoneIndex;
24 ::ll::TypedStorage<4, 4, ::SkeletalHierarchyIndex> mParentSkeletalHierarchyIndex;
25 ::ll::TypedStorage<8, 48, ::HashedString> mName;
26 ::ll::TypedStorage<4, 64, ::Matrix> mMatrix;
27 ::ll::TypedStorage<4, 36, ::BoneOrientationTransform> mTransform;
28 ::ll::TypedStorage<4, 36, ::BoneOrientationTransform> mDefaultTransform;
29 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Matrix>> mLocalPreTransformMatrix;
30 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ExpressionNode>> mBoneBindingExpression;
31 ::ll::TypedStorage<4, 12, ::Vec3> mPivot;
32 ::ll::TypedStorage<1, 1, ::BoneBindingMethod> mBoneBindingMethod;
33 ::ll::TypedStorage<1, 1, ::BoneAnimationRelativeMode> mRotationRelativeMode;
34 ::ll::TypedStorage<1, 1, bool> mOverrideStackMatrix;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 BoneOrientation(BoneOrientation const&);
40 BoneOrientation();
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI void applyShortestPathBlend(
46 ::BoneOrientation const& blendOut,
47 ::BoneOrientation const& blendIn,
48 float blendInWeight,
49 float
50 );
51
52 MCAPI ::BoneOrientation& operator=(::BoneOrientation const& rhs);
53
54 MCAPI_C void setMatrix(::Matrix const& matrix);
55
56 MCAPI_C void updateLocalPreTransformMatrix();
57
58 MCAPI ~BoneOrientation();
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64 MCAPI_C static void
65 computeBoneTransform(::BoneOrientation& boneOrientation, ::Vec3 const* offset, ::Matrix& boneToEntitySpaceMatrix);
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI_C void* $ctor(::HashedString const& boneName);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79};
Definition ExpressionNode.h:33
Definition HashedString.h:5
Definition Matrix.h:5
Definition Vec3.h:10