LeviLamina
Loading...
Searching...
No Matches
ActorRenderer Class Referenceabstract
+ Inheritance diagram for ActorRenderer:

Classes

struct  LeashPins
 

Public Member Functions

ActorRendereroperator= (ActorRenderer const &)
 
 ActorRenderer (ActorRenderer const &)
 
virtual void render (::BaseActorRenderContext &, ::ActorRenderData &)=0
 
virtual void renderDebug (::BaseActorRenderContext &renderContext, ::ActorRenderData &entityRenderData)
 
virtual void renderEffects (::BaseActorRenderContext &, ::ActorRenderData &)
 
virtual void renderLeash (::BaseActorRenderContext &renderContext, ::ActorRenderData &entityRenderData)
 
virtual void renderWaterHole (::BaseActorRenderContext &, ::ActorRenderData &)
 
virtual void addAdditionalRenderingIfNeeded (::std::shared_ptr<::mce::TextureGroup >)
 
virtual::AABB getRenderBounds (::Actor const &entity) const
 
virtual void getLeashOffsets (::Actor &, float yRot, float yRotPrev, float a, bool legacyOffset, ::Bedrock::small_vector_base<::Vec3 > &output) const
 
virtual void setIsOnScreen (::Actor &, bool const, float) const
 
virtual bool shouldUpdateBonesAndEffectsIfOffScreen (::RenderParams &) const
 
virtual bool shouldUpdateEffectsIfOffScreen (::RenderParams &) const
 
MCAPI ActorRenderer (::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Vec2 const &renderDim, ::Vec3 const &renderDimOffset, bool hasWaterHole)
 
MCAPI ActorRenderer (::std::shared_ptr<::Model > model, ::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Vec2 const &renderDim, ::Vec3 const &renderDimOffset, bool hasWaterHole)
 
MCAPI ::std::vector<::NameTagRenderObjectextractText (::Tessellator &tessellator, ::Actor const &entity, ::std::string const &str, ::std::vector< int > const &widths, ::Vec3 camTargetPos, float a, ::mce::Color color)
 
MCAPI::mce::TexturePtr getAtlasTexture ()
 
MCAPI void renderGui (::BaseActorRenderContext &renderContext, ::ActorRenderData &actorRenderData)
 
MCAPI void setBaseRenderBounds (::Vec2 const &dims, ::Vec3 const &offset)
 
MCAPI void * $ctor (::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Vec2 const &renderDim, ::Vec3 const &renderDimOffset, bool hasWaterHole)
 
MCAPI void * $ctor (::std::shared_ptr<::Model > model, ::std::shared_ptr<::mce::TextureGroup > textureGroup, ::Vec2 const &renderDim, ::Vec3 const &renderDimOffset, bool hasWaterHole)
 
MCAPI void $dtor ()
 
MCAPI void $renderDebug (::BaseActorRenderContext &renderContext, ::ActorRenderData &entityRenderData)
 
MCAPI void $renderEffects (::BaseActorRenderContext &, ::ActorRenderData &)
 
MCAPI void $renderLeash (::BaseActorRenderContext &renderContext, ::ActorRenderData &entityRenderData)
 
MCAPI void $renderWaterHole (::BaseActorRenderContext &, ::ActorRenderData &)
 
MCAPI void $addAdditionalRenderingIfNeeded (::std::shared_ptr<::mce::TextureGroup >)
 
MCAPI::AABB $getRenderBounds (::Actor const &entity) const
 
MCAPI void $getLeashOffsets (::Actor &, float yRot, float yRotPrev, float a, bool legacyOffset, ::Bedrock::small_vector_base<::Vec3 > &output) const
 
MCAPI void $setIsOnScreen (::Actor &, bool const, float) const
 
MCAPI bool $shouldUpdateBonesAndEffectsIfOffScreen (::RenderParams &) const
 
MCAPI bool $shouldUpdateEffectsIfOffScreen (::RenderParams &) const
 

Static Public Member Functions

static MCAPI void _addLeashPinToOutput (::Vec3 const &fromLeashes, ::Vec3 const &toLeashes, ::Actor const &actor, ::Actor const *roper, ::ActorUniqueID roperID, uint64 ropeIndex, float actorFrameAlpha, ::Bedrock::small_vector_base<::ActorRenderer::LeashPins > &output)
 
static MCAPI void _buildFlameMesh (::Tessellator &tessellator, ::std::shared_ptr<::mce::TextureGroup > textureGroup)
 
static MCAPI void _drawClassicLeash (::BaseActorRenderContext &renderContext, ::Vec3 const &ropeStart, ::Vec3 const &delta, ::mce::TexturePtr &tex)
 
static MCAPI void _drawRopeRange (::BaseActorRenderContext &renderContext, int begin, int end, ::Vec3 const &basisX, ::Vec3 const &basisY, ::Vec3 const &deltaNorm, ::RopePoints const &nodes, ::mce::TexturePtr &tex, float a, ::Vec3 *startPoint, ::Vec3 *endPoint)
 
static MCAPI void _getLeashPins (float actorFrameAlpha, ::BaseActorRenderContext &renderContext, ::Actor &actor, ::Bedrock::small_vector_base<::ActorRenderer::LeashPins > &output, ::Bedrock::small_vector_base<::Vec3 > &leashFromOffsets)
 
static MCAPI bool isDitheringEnabled (::BaseActorRenderContext const &renderContext, ::Actor const &actor)
 
static MCAPI void renderDebugAttachPos (int renderAttachPos, ::Actor const &mob)
 
static MCAPI void renderFlame (::BaseActorRenderContext &renderContext, ::ActorRenderData &entityRenderData)
 
static MCAPI void renderLeash (::BaseActorRenderContext &renderContext, ::ActorRenderData &entityRenderData, ::Bedrock::small_vector_base<::ActorRenderer::LeashPins > &allLeashPins)
 
static MCAPI void resetTextures ()
 
static MCAPI ::Vec2 const & DEFAULT_RENDER_BOUNDS ()
 
static MCAPI ::mce::MaterialPtrmFlameMaterial ()
 
static MCAPI ::mce::MeshmFlameMesh ()
 
static MCAPI ::ActorTextureInfomFlameTexture ()
 
static MCAPI ::mce::MaterialPtrmLeashMat ()
 
static MCAPI ::mce::TexturePtrmLeashTexture ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 1, 1 > mUnk43ebd3
 
::ll::UntypedStorage< 1, 1 > mUnkf4e21f
 
::ll::UntypedStorage< 8, 16 > mUnkb54757
 
::ll::UntypedStorage< 8, 16 > mUnk97b128
 
::ll::UntypedStorage< 8, 32 > mUnkc979f8
 
::ll::UntypedStorage< 8, 32 > mUnk7606b9
 
::ll::UntypedStorage< 8, 16 > mUnk4ab096
 
::ll::UntypedStorage< 4, 24 > mUnka2cd17
 
::ll::UntypedStorage< 8, 16 > mUnk966cb5
 

Constructor & Destructor Documentation

◆ ActorRenderer() [1/2]

MCAPI ActorRenderer::ActorRenderer ( ::std::shared_ptr<::mce::TextureGroup > textureGroup,
::Vec2 const & renderDim,
::Vec3 const & renderDimOffset,
bool hasWaterHole )
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.

◆ ActorRenderer() [2/2]

MCAPI ActorRenderer::ActorRenderer ( ::std::shared_ptr<::Model > model,
::std::shared_ptr<::mce::TextureGroup > textureGroup,
::Vec2 const & renderDim,
::Vec3 const & renderDimOffset,
bool hasWaterHole )
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.

Member Function Documentation

◆ extractText()

MCAPI ::std::vector<::NameTagRenderObject > ActorRenderer::extractText ( ::Tessellator & tessellator,
::Actor const & entity,
::std::string const & str,
::std::vector< int > const & widths,
::Vec3 camTargetPos,
float a,
::mce::Color color )
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.

◆ getAtlasTexture()

MCAPI::mce::TexturePtr ActorRenderer::getAtlasTexture ( )
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.

◆ renderGui()

MCAPI void ActorRenderer::renderGui ( ::BaseActorRenderContext & renderContext,
::ActorRenderData & actorRenderData )
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.

◆ setBaseRenderBounds()

MCAPI void ActorRenderer::setBaseRenderBounds ( ::Vec2 const & dims,
::Vec3 const & offset )
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.

◆ _addLeashPinToOutput()

static MCAPI void ActorRenderer::_addLeashPinToOutput ( ::Vec3 const & fromLeashes,
::Vec3 const & toLeashes,
::Actor const & actor,
::Actor const * roper,
::ActorUniqueID roperID,
uint64 ropeIndex,
float actorFrameAlpha,
::Bedrock::small_vector_base<::ActorRenderer::LeashPins > & output )
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.

◆ _buildFlameMesh()

static MCAPI void ActorRenderer::_buildFlameMesh ( ::Tessellator & tessellator,
::std::shared_ptr<::mce::TextureGroup > textureGroup )
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.

◆ _drawClassicLeash()

static MCAPI void ActorRenderer::_drawClassicLeash ( ::BaseActorRenderContext & renderContext,
::Vec3 const & ropeStart,
::Vec3 const & delta,
::mce::TexturePtr & tex )
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.

◆ _drawRopeRange()

static MCAPI void ActorRenderer::_drawRopeRange ( ::BaseActorRenderContext & renderContext,
int begin,
int end,
::Vec3 const & basisX,
::Vec3 const & basisY,
::Vec3 const & deltaNorm,
::RopePoints const & nodes,
::mce::TexturePtr & tex,
float a,
::Vec3 * startPoint,
::Vec3 * endPoint )
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.

◆ _getLeashPins()

static MCAPI void ActorRenderer::_getLeashPins ( float actorFrameAlpha,
::BaseActorRenderContext & renderContext,
::Actor & actor,
::Bedrock::small_vector_base<::ActorRenderer::LeashPins > & output,
::Bedrock::small_vector_base<::Vec3 > & leashFromOffsets )
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.

◆ isDitheringEnabled()

static MCAPI bool ActorRenderer::isDitheringEnabled ( ::BaseActorRenderContext const & renderContext,
::Actor const & actor )
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.

◆ renderDebugAttachPos()

static MCAPI void ActorRenderer::renderDebugAttachPos ( int renderAttachPos,
::Actor 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.

◆ renderFlame()

static MCAPI void ActorRenderer::renderFlame ( ::BaseActorRenderContext & renderContext,
::ActorRenderData & entityRenderData )
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.

◆ renderLeash()

static MCAPI void ActorRenderer::renderLeash ( ::BaseActorRenderContext & renderContext,
::ActorRenderData & entityRenderData,
::Bedrock::small_vector_base<::ActorRenderer::LeashPins > & allLeashPins )
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.

◆ resetTextures()

static MCAPI void ActorRenderer::resetTextures ( )
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.

◆ DEFAULT_RENDER_BOUNDS()

static MCAPI ::Vec2 const & ActorRenderer::DEFAULT_RENDER_BOUNDS ( )
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.

◆ mFlameMaterial()

static MCAPI ::mce::MaterialPtr & ActorRenderer::mFlameMaterial ( )
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.

◆ mFlameMesh()

static MCAPI ::mce::Mesh & ActorRenderer::mFlameMesh ( )
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.

◆ mFlameTexture()

static MCAPI ::ActorTextureInfo & ActorRenderer::mFlameTexture ( )
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.

◆ mLeashMat()

static MCAPI ::mce::MaterialPtr & ActorRenderer::mLeashMat ( )
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.

◆ mLeashTexture()

static MCAPI ::mce::TexturePtr & ActorRenderer::mLeashTexture ( )
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.

◆ $ctor() [1/2]

MCAPI void * ActorRenderer::$ctor ( ::std::shared_ptr<::mce::TextureGroup > textureGroup,
::Vec2 const & renderDim,
::Vec3 const & renderDimOffset,
bool hasWaterHole )
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.

◆ $ctor() [2/2]

MCAPI void * ActorRenderer::$ctor ( ::std::shared_ptr<::Model > model,
::std::shared_ptr<::mce::TextureGroup > textureGroup,
::Vec2 const & renderDim,
::Vec3 const & renderDimOffset,
bool hasWaterHole )
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.

◆ $dtor()

MCAPI void ActorRenderer::$dtor ( )
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.

◆ $renderDebug()

MCAPI void ActorRenderer::$renderDebug ( ::BaseActorRenderContext & renderContext,
::ActorRenderData & entityRenderData )
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.

◆ $renderEffects()

MCAPI void ActorRenderer::$renderEffects ( ::BaseActorRenderContext & ,
::ActorRenderData &  )
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.

◆ $renderLeash()

MCAPI void ActorRenderer::$renderLeash ( ::BaseActorRenderContext & renderContext,
::ActorRenderData & entityRenderData )
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.

◆ $renderWaterHole()

MCAPI void ActorRenderer::$renderWaterHole ( ::BaseActorRenderContext & ,
::ActorRenderData &  )
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.

◆ $addAdditionalRenderingIfNeeded()

MCAPI void ActorRenderer::$addAdditionalRenderingIfNeeded ( ::std::shared_ptr<::mce::TextureGroup > )
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.

◆ $getRenderBounds()

MCAPI::AABB ActorRenderer::$getRenderBounds ( ::Actor const & entity) 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.

◆ $getLeashOffsets()

MCAPI void ActorRenderer::$getLeashOffsets ( ::Actor & ,
float yRot,
float yRotPrev,
float a,
bool legacyOffset,
::Bedrock::small_vector_base<::Vec3 > & output ) 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.

◆ $setIsOnScreen()

MCAPI void ActorRenderer::$setIsOnScreen ( ::Actor & ,
bool const ,
float  ) 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.

◆ $shouldUpdateBonesAndEffectsIfOffScreen()

MCAPI bool ActorRenderer::$shouldUpdateBonesAndEffectsIfOffScreen ( ::RenderParams & ) 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.

◆ $shouldUpdateEffectsIfOffScreen()

MCAPI bool ActorRenderer::$shouldUpdateEffectsIfOffScreen ( ::RenderParams & ) 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.

◆ $vftable()

static MCAPI void ** ActorRenderer::$vftable ( )
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 file: