Plasma Engine  2.0
Loading...
Searching...
No Matches
AlwaysVisibleComponent.h
1#pragma once
2
3#include <RendererCore/Components/RenderComponent.h>
4
6
8class PL_RENDERERCORE_DLL plAlwaysVisibleComponent : public plRenderComponent
9{
11
13 // plRenderComponent
14
15public:
16 virtual plResult GetLocalBounds(plBoundingBoxSphere& ref_bounds, bool& ref_bAlwaysVisible, plMsgUpdateLocalBounds& ref_msg) override;
17
19 // plAlwaysVisibleComponent
20
21public:
24};
Attaching this component to a game object makes the renderer consider it always visible,...
Definition AlwaysVisibleComponent.h:9
Definition ComponentManager.h:88
Base class for objects that should be rendered.
Definition RenderComponent.h:9
virtual plResult GetLocalBounds(plBoundingBoxSphere &ref_bounds, bool &ref_bAlwaysVisible, plMsgUpdateLocalBounds &ref_msg)=0
Called by plRenderComponent::OnUpdateLocalBounds(). If PL_SUCCESS is returned, bounds and bAlwaysVisi...
Definition UpdateLocalBoundsMessage.h:9
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54