3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/math/Vec2.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/deps/minecraft_renderer/framebuilder/CustomSurfaceShaderMetadata.h"
21namespace mce {
class Color; }
28 ::ll::TypedStorage<8, 8, ::Actor*> mActor;
29 ::ll::TypedStorage<8, 8, ::ItemStack const*> mItemStack;
30 ::ll::TypedStorage<4, 12, ::Vec3> position;
31 ::ll::TypedStorage<4, 8, ::Vec2> rotation;
32 ::ll::TypedStorage<4, 8, ::Vec2> mHeadRot;
33 ::ll::TypedStorage<1, 1, bool> glint;
34 ::ll::TypedStorage<1, 1, bool> mIgnoreLighting;
35 ::ll::TypedStorage<1, 1, bool> mIsInUI;
36 ::ll::TypedStorage<4, 4, float> mDeltaTime;
37 ::ll::TypedStorage<8, 8, ::AnimationComponent&> mAnimationComponent;
38 ::ll::TypedStorage<8, 8, ::MolangVariableMap&> mVariables;
39 ::ll::TypedStorage<4, 8, ::mce::framebuilder::CustomSurfaceShaderMetadata> mCSSMetadata;
44 ActorRenderData& operator=(ActorRenderData
const&);
45 ActorRenderData(ActorRenderData
const&);
51 MCAPI ActorRenderData(
53 ::AnimationComponent& animationComponent,
54 ::MolangVariableMap& variables,
55 ::Vec3
const& cameraTargetPosition,
59 MCAPI
void _UI_setupShading(
60 ::BaseActorRenderContext& renderContext,
70 MCAPI
void applyGlobalAnims(::Matrix& worldMatrix, ::BaseActorRenderContext& renderContext)
const;
72 MCAPI
void update(
float frameAlpha, ::Vec3
const& cameraTargetPosition);
74 MCAPI
void updateMolangVariables(::RenderParams& renderParams)
const;
80 MCAPI static ::std::optional<::std::pair<float, float>>
81 getDamageOrGlidingXYRotation(::Mob
const& mob,
float actorFrameAlpha,
bool isFirstPersonPlayer);
83 MCAPI
static float getDeathRotation(::Mob
const& mob,
float actorFrameAlpha);
85 MCAPI
static bool getIsFirstPersonPlayer(::Mob& mob);
87 MCAPI static ::std::optional<::std::pair<float, float>> getNamedRotationAndOffset(::Mob
const& mob);
95 ::AnimationComponent& animationComponent,
96 ::MolangVariableMap& variables,
97 ::Vec3
const& cameraTargetPosition,
Definition ActorRenderData.h:5
Definition AnimationComponent.h:36
Definition BaseActorRenderContext.h:5
Definition ItemStack.h:26
Definition MolangVariableMap.h:17
Definition RenderParams.h:30