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"
20namespace mce {
class Color; }
27 ::ll::TypedStorage<8, 8, ::Actor*> mActor;
28 ::ll::TypedStorage<8, 8, ::ItemStack const*> mItemStack;
29 ::ll::TypedStorage<4, 12, ::Vec3> position;
30 ::ll::TypedStorage<4, 8, ::Vec2> rotation;
31 ::ll::TypedStorage<4, 8, ::Vec2> mHeadRot;
32 ::ll::TypedStorage<1, 1, bool> glint;
33 ::ll::TypedStorage<1, 1, bool> mIgnoreLighting;
34 ::ll::TypedStorage<1, 1, bool> mIsInUI;
35 ::ll::TypedStorage<4, 4, float> mDeltaTime;
36 ::ll::TypedStorage<8, 8, ::AnimationComponent&> mAnimationComponent;
37 ::ll::TypedStorage<8, 8, ::MolangVariableMap&> mVariables;
38 ::ll::TypedStorage<4, 8, ::mce::framebuilder::CustomSurfaceShaderMetadata> mCSSMetadata;
43 ActorRenderData& operator=(ActorRenderData
const&);
44 ActorRenderData(ActorRenderData
const&);
50 MCAPI ActorRenderData(
52 ::AnimationComponent& animationComponent,
53 ::MolangVariableMap& variables,
54 ::Vec3
const& cameraTargetPosition,
58 MCAPI
void _UI_setupShading(
59 ::BaseActorRenderContext& renderContext,
69 MCAPI
void update(
float frameAlpha, ::Vec3
const& cameraTargetPosition);
71 MCAPI
void updateMolangVariables(::RenderParams& renderParams)
const;
77 MCAPI static ::std::optional<::std::pair<float, float>>
78 getDamageOrGlidingXYRotation(::Mob
const& mob,
float actorFrameAlpha,
bool isFirstPersonPlayer);
80 MCAPI
static float getDeathRotation(::Mob
const& mob,
float actorFrameAlpha);
82 MCAPI
static bool getIsFirstPersonPlayer(::Mob& mob);
84 MCAPI static ::std::optional<::std::pair<float, float>> getNamedRotationAndOffset(::Mob
const& mob);
92 ::AnimationComponent& animationComponent,
93 ::MolangVariableMap& variables,
94 ::Vec3
const& cameraTargetPosition,
Definition ActorRenderData.h:5
Definition AnimationComponent.h:36
Definition BaseActorRenderContext.h:34
Definition ItemStack.h:26
Definition MolangVariableMap.h:17
Definition RenderParams.h:30