SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::SkyBoxComponent Class Reference

SkyBoxComponent Class. This class defines the specific behaves of SkyBoxComponent. More...

#include <SkyBoxComponent.h>

Inheritance diagram for Spices::SkyBoxComponent:
Spices::MeshComponent Spices::Component

Public Member Functions

 SkyBoxComponent ()
 Constructor Function.
 
virtual ~SkyBoxComponent () override=default
 Destructor Function.
 
virtual void OnSerialize () override
 This interface defines how to serialize.
 
virtual void OnDeSerialize () override
 This interface defines how to deserialize.
 
virtual void DrawThis () override
 This interface defines how to draw this component to property panel.
 
void SetMaterial (const std::string &materialPath)
 Set SkyBox Material.
 
void SetMesh (std::shared_ptr< Mesh > mesh)
 Set the Mesh this component handled.
 
std::shared_ptr< MeshGetMesh ()
 Get the Mesh variable.
 
virtual void OnComponentAdded (const entt::entity &entity)
 This interface defines the behaves on specific component added. Init with variable.
 

Protected Attributes

std::shared_ptr< Meshm_Mesh
 The Mesh this component handled.
 
entt::entity m_Owner { entt::null }
 This component's Owner entity.
 

Detailed Description

SkyBoxComponent Class. This class defines the specific behaves of SkyBoxComponent.

Definition at line 21 of file SkyBoxComponent.h.


The documentation for this class was generated from the following files: