Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ActorRenderData Class Reference

Public Member Functions

ActorRenderData & operator= (ActorRenderData const &)
 ActorRenderData (ActorRenderData const &)
MCAPI void _Level_setupShading (::BaseActorRenderContext &renderContext, ::mce::Color const &overlayColor, ::mce::Color const &changeColor, ::mce::Color const &changeColor2, ::Vec4 const &uvAnim, float br, bool ignoreLighting, bool filterLighting, bool isEnchanted) const
MCAPI void _UI_setupShading (::BaseActorRenderContext &renderContext, ::mce::Color const &, ::mce::Color const &, ::mce::Color const &, ::Vec4 const &uvAnim, float, bool, bool) const

Static Public Member Functions

static MCAPI ::std::optional<::std::pair< float, float > > getDamageOrGlidingXYRotation (::Mob const &mob, float actorFrameAlpha, bool isFirstPersonPlayer)
static MCAPI ::std::optional<::std::pair< float, float > > getNamedRotationAndOffset (::Mob const &mob)

Public Attributes

::ll::TypedStorage< 8, 8, ::Actor * > mActor
::ll::TypedStorage< 8, 8, ::ItemStack const * > mItemStack
::ll::TypedStorage< 4, 12, ::Vec3 > position
::ll::TypedStorage< 4, 8, ::Vec2 > rotation
::ll::TypedStorage< 4, 8, ::Vec2 > mHeadRot
::ll::TypedStorage< 1, 1, bool > glint
::ll::TypedStorage< 1, 1, bool > mIgnoreLighting
::ll::TypedStorage< 1, 1, bool > mIsInUI
::ll::TypedStorage< 4, 4, float > mDeltaTime
::ll::TypedStorage< 8, 8, ::AnimationComponent & > mAnimationComponent
::ll::TypedStorage< 8, 8, ::MolangVariableMap & > mVariables
::ll::TypedStorage< 4, 8, ::mce::framebuilder::CustomSurfaceShaderMetadata > mCSSMetadata

Member Function Documentation

◆ _Level_setupShading()

MCAPI void ActorRenderData::_Level_setupShading ( ::BaseActorRenderContext & renderContext,
::mce::Color const & overlayColor,
::mce::Color const & changeColor,
::mce::Color const & changeColor2,
::Vec4 const & uvAnim,
float br,
bool ignoreLighting,
bool filterLighting,
bool isEnchanted ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _UI_setupShading()

MCAPI void ActorRenderData::_UI_setupShading ( ::BaseActorRenderContext & renderContext,
::mce::Color const & ,
::mce::Color const & ,
::mce::Color const & ,
::Vec4 const & uvAnim,
float ,
bool ,
bool  ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getNamedRotationAndOffset()

MCAPI ::std::optional<::std::pair< float, float > > ActorRenderData::getNamedRotationAndOffset ( ::Mob const & mob)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: