ezEngine Release 26.3
Loading...
Searching...
No Matches
ezWorldDesc Struct Reference

Describes the initial state of a world. More...

#include <WorldDesc.h>

Public Member Functions

 EZ_DECLARE_POD_TYPE ()
 
 ezWorldDesc (ezStringView sWorldName)
 

Public Attributes

ezHashedString m_sName
 Name of the world for identification.
 
ezUInt64 m_uiRandomNumberGeneratorSeed = 0
 Seed for the world's random number generator (0 = use current time)
 
ezUniquePtr< ezSpatialSystemm_pSpatialSystem
 Custom spatial system to use for this world.
 
bool m_bAutoCreateSpatialSystem = true
 Automatically create a default spatial system if none is set.
 
ezSharedPtr< ezCoordinateSystemProviderm_pCoordinateSystemProvider
 Optional provider for position-dependent coordinate systems.
 
ezUniquePtr< ezTimeStepSmoothingm_pTimeStepSmoothing
 Custom time step smoothing (if nullptr, ezDefaultTimeStepSmoothing will be used)
 
bool m_bReportErrorWhenStaticObjectMoves = true
 Whether to log errors when objects marked as static change position.
 
ezTime m_MaxComponentInitializationTimePerFrame = ezTime::MakeFromHours(10000)
 Maximum time to spend on component initialization per frame.
 

Detailed Description

Describes the initial state of a world.


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