Class ExternalLinkSpaceComponent
Defined in File ExternalLinkSpaceComponent.h
Inheritance Relationships
Base Types
public csp::multiplayer::ComponentBase
(Class ComponentBase)public csp::multiplayer::IEnableableComponent
(Class IEnableableComponent)public csp::multiplayer::ITransformComponent
(Class ITransformComponent)public csp::multiplayer::IVisibleComponent
(Class IVisibleComponent)
Class Documentation
-
class ExternalLinkSpaceComponent : public csp::multiplayer::ComponentBase, public csp::multiplayer::IEnableableComponent, public csp::multiplayer::ITransformComponent, public csp::multiplayer::IVisibleComponent
Used to handle external URLs that can be opened from within a space.
Public Functions
-
ExternalLinkSpaceComponent(SpaceEntity *Parent)
Creates an external link component that can be added to an existing space entity.
- Parameters
Parent – - The space entity to which this new component will belong to.
-
void SetName(const csp::common::String &Value)
Sets the name for this external link component.
- Parameters
Value – - The new name to assign to this external link componenent.
-
const csp::common::String &GetLinkUrl() const
Gets the URL address to which this external link component redirects the user on trigger.
-
void SetLinkUrl(const csp::common::String &Value)
Sets the URL address to which this external link component redirects the user to on trigger.
- Parameters
Value – - The URL to be assigned to this external link component.
-
ExternalLinkSpaceComponent(SpaceEntity *Parent)