Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
trax::Simulator Struct Referenceabstract

Interface for the physics simulator. More...

#include <C:/Trend/Development/Trax3/Code/trax/rigid/Simulator.h>

Public Types

enum class  Type {
  none = 0 , Standard , PhysX , PhysX_VisualDebugger ,
  Unknown
}

Public Member Functions

virtual const char * TypeName () const noexcept=0
virtual const char * GetVersionString () const =0

Static Public Member Functions

static dclspc std::unique_ptr< SimulatorMake (Type type) noexcept
 Makes a Simulator object.

Detailed Description

Interface for the physics simulator.

Member Function Documentation

◆ GetVersionString()

virtual const char * trax::Simulator::GetVersionString ( ) const
pure virtual
Returns
a human readable string for the Simulator version and the version of the underlying physics engine.
See also
Version

◆ TypeName()

virtual const char * trax::Simulator::TypeName ( ) const
pure virtualnoexcept
Returns
the name for the object type that implements this interface.

The documentation for this struct was generated from the following file:
  • C:/Trend/Development/Trax3/Code/trax/rigid/Simulator.h