Class IEnableableComponent
Defined in File IEnableableComponent.h
Inheritance Relationships
Derived Types
public csp::multiplayer::AudioSpaceComponent
(Class AudioSpaceComponent)public csp::multiplayer::ButtonSpaceComponent
(Class ButtonSpaceComponent)public csp::multiplayer::CinematicCameraSpaceComponent
(Class CinematicCameraSpaceComponent)public csp::multiplayer::ExternalLinkSpaceComponent
(Class ExternalLinkSpaceComponent)public csp::multiplayer::PortalSpaceComponent
(Class PortalSpaceComponent)public csp::multiplayer::VideoPlayerSpaceComponent
(Class VideoPlayerSpaceComponent)
Class Documentation
-
class IEnableableComponent
Controls whether a component is enabled or disabled.
Subclassed by csp::multiplayer::AudioSpaceComponent, csp::multiplayer::ButtonSpaceComponent, csp::multiplayer::CinematicCameraSpaceComponent, csp::multiplayer::ExternalLinkSpaceComponent, csp::multiplayer::PortalSpaceComponent, csp::multiplayer::VideoPlayerSpaceComponent
Public Functions
-
virtual bool GetIsEnabled() const = 0
Checks if the component is enabled.
- Returns
True if the component is enabled, false otherwise.
-
virtual void SetIsEnabled(bool InValue) = 0
Sets if the component is enabled.
- Parameters
InValue – True to set the component to enabled, false otherwise.
Protected Functions
-
virtual ~IEnableableComponent() = default
-
virtual bool GetIsEnabled() const = 0