LeviLamina
Loading...
Searching...
No Matches
KeyFrameTransform.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/animation/BoneTransformType.h"
7#include "mc/world/actor/animation/KeyFrameLerpMode.h"
8
9// auto generated forward declare list
10// clang-format off
11class BoneOrientation;
12class ExpressionNode;
14class RenderParams;
15class Vec3;
16// clang-format on
17
18class KeyFrameTransform {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::KeyFrameTransformData>> mPrePost;
23 ::ll::TypedStorage<8, 16, ::KeyFrameLerpMode> mLerpMode;
24 ::ll::TypedStorage<4, 4, float> mKeyFrameTimeStamp;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 KeyFrameTransform& operator=(KeyFrameTransform const&);
30 KeyFrameTransform(KeyFrameTransform const&);
31 KeyFrameTransform();
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI_C void animate(
37 ::RenderParams& renderParams,
38 ::BoneOrientation& destBoneOrientation,
39 float scale,
40 ::BoneTransformType boneTransformType
41 ) const;
42
43 MCAPI ::KeyFrameTransform& operator=(::KeyFrameTransform&&);
44
45 MCAPI bool optimizeAndGetDataValues(::Vec3& minValue, ::Vec3& maxValue);
46
47 MCAPI void set(::ExpressionNode const& expression);
48
49 MCAPI void set(::ExpressionNode const& expression, ::Vec3 const& axis);
50
51 MCAPI void set(::ExpressionNode const& expression, int axisIndex);
52
53 MCAPI ~KeyFrameTransform();
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCAPI static void computeCubicPolynomial(
60 ::KeyFrameTransform* p0,
61 ::KeyFrameTransform& p1,
62 ::KeyFrameTransform& p2,
63 ::KeyFrameTransform* p3
64 );
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCAPI void $dtor();
71 // NOLINTEND
72};
Definition BoneOrientation.h:19
Definition ExpressionNode.h:33
Definition KeyFrameTransformData.h:12
Definition RenderParams.h:30
Definition Vec3.h:10