NcEngine
nc::Scene Class Referenceabstract

Public Member Functions

 Scene (Vector3 extents=Vector3{150.0f, 150.0f, 150.0f})
 
virtual void Load (ecs::Ecs world, ModuleProvider modules)=0
 Handle to put any logic to occur on scene load.
 
virtual void Unload ()
 Handle to put any logic to occur on scene unload.
 
auto GetExtents () const noexcept -> const Vector3 &
 Get the scene extents, which are used to determine lighting bounds. More...
 

Member Function Documentation

◆ GetExtents()

auto nc::Scene::GetExtents ( ) const -> const Vector3&
inlinenoexcept

Get the scene extents, which are used to determine lighting bounds.

Returns
a Vector3 representing the x, y, and z extents of the scene.

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