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
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
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 void updateLocalPreTransformMatrix();
55
56 MCAPI ~BoneOrientation();
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCAPI static void
63 computeBoneTransform(::BoneOrientation& boneOrientation, ::Vec3 const* offset, ::Matrix& boneToEntitySpaceMatrix);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCAPI void $dtor();
70 // NOLINTEND
71};
Definition BoneOrientation.h:19
Definition ExpressionNode.h:28
Definition Matrix.h:10
Definition Vec3.h:10