CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::TerrainRenderableComponent Struct Referencefinal

The Terrain component. More...

#include <CeresEngine/Scene/Terrain/TerrainRenderable.hpp>

Inheritance diagram for CeresEngine::TerrainRenderableComponent:
CeresEngine::Component< TerrainRenderableComponent > CeresEngine::AbstractComponent

Classes

struct  Accessor
 The accessor class for Terrain component. More...
 

Public Member Functions

virtual CE_DISABLE_WARNING_MISSING_OVERRIDE ::CeresEngine::ClassInfo getClassInfo () const noexcept
 
virtual ::CeresEngine::ClassInfo getClassInfo () noexcept
 
- Public Member Functions inherited from CeresEngine::Component< TerrainRenderableComponent >
const ComponentTypegetComponentType () const noexcept final
 Gets the component type.
 
- Public Member Functions inherited from CeresEngine::AbstractComponent
virtual ~AbstractComponent ()=default
 Defaulted virtual destructor.
 

Static Public Member Functions

template<typename Processor >
static constexpr void reflect (Processor &&RTTI)
 Executes the given processor for every field of the struct.
 

Public Attributes

UInt64 seed
 A seed used to generate the terrain data.
 
HTerrain terrain
 
HMaterial material
 

Additional Inherited Members

- Static Public Attributes inherited from CeresEngine::Component< TerrainRenderableComponent >
static const ComponentID componentID
 This component type ID.
 
static const ComponentMask mask
 The component mask.
 
static const ComponentTypecomponentType
 Gets the component type.
 

Detailed Description

The Terrain component.

Member Function Documentation

◆ getClassInfo() [1/2]

virtual CE_DISABLE_WARNING_MISSING_OVERRIDE ::CeresEngine::ClassInfo CeresEngine::TerrainRenderableComponent::getClassInfo ( ) const
virtualnoexcept

Reimplemented from CeresEngine::AbstractComponent.

◆ getClassInfo() [2/2]

virtual ::CeresEngine::ClassInfo CeresEngine::TerrainRenderableComponent::getClassInfo ( )
virtualnoexcept

Reimplemented from CeresEngine::AbstractComponent.

◆ reflect()

template<typename Processor >
static constexpr void CeresEngine::TerrainRenderableComponent::reflect ( Processor &&  RTTI)
inlinestaticconstexpr

Executes the given processor for every field of the struct.

Parameters
RTTIThe processor to be ran for every field.

Member Data Documentation

◆ material

HMaterial CeresEngine::TerrainRenderableComponent::material

◆ seed

UInt64 CeresEngine::TerrainRenderableComponent::seed

A seed used to generate the terrain data.

◆ terrain

HTerrain CeresEngine::TerrainRenderableComponent::terrain

The documentation for this struct was generated from the following file: