Jazz2::Actors::ActorBase::ActorRenderer class

Actor renderer.

Base classes

class nCine::BaseSprite
Base class for sprites.

Constructors, destructors, conversion operators

ActorRenderer(ActorBase* owner)

Public functions

void Initialize(ActorRendererType type)
void OnUpdate(float timeMult) override
Called once every frame to update the node.
auto OnDraw(RenderQueue& renderQueue) -> bool override
Renders the node.
auto IsAnimationRunning() -> bool
auto GetRendererType() const -> ActorRendererType

Public variables

bool AnimPaused
Vector2i FrameConfiguration
Vector2i FrameDimensions
AnimationLoopMode LoopMode
std::int32_t FirstFrame
std::int32_t FrameCount
float AnimDuration
float AnimTime
std::int32_t CurrentFrame
Vector2f Hotspot

Protected functions

void textureHasChanged(Texture* newTexture) override
Performs the required tasks upon a change to the texture.