Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzPhysics::SceneConfiguration Struct Reference

Configuration object that contains data to setup a Scene. More...

#include <SceneConfiguration.h>

Public Member Functions

 AZ_TYPE_INFO (SceneConfiguration, "{4ABF9993-8E52-4E41-B38D-28FD569B4EAF}")
 
bool operator== (const SceneConfiguration &other) const
 
bool operator!= (const SceneConfiguration &other) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static SceneConfiguration CreateDefault ()
 

Public Attributes

 AZ_CLASS_ALLOCATOR_DECL
 
AZStd::string m_sceneName
 Name given to the scene.
 
AZ::Aabb m_worldBounds = AZ::Aabb::CreateFromMinMax(-AZ::Vector3(1000.f, 1000.f, 1000.f), AZ::Vector3(1000.f, 1000.f, 1000.f))
 
AZ::Vector3 m_gravity = AzPhysics::DefaultGravity
 
void * m_customUserData = nullptr
 
bool m_enableCcd = false
 Enables continuous collision detection in the world.
 
AZ::u32 m_maxCcdPasses = 1
 Maximum number of continuous collision detection passes.
 
bool m_enableCcdResweep = true
 Use a more accurate but more expensive continuous collision detection method.
 
bool m_enableActiveActors = true
 Enables reporting of changed Simulated bodies on the OnSceneActiveSimulatedBodiesEvent event.
 
bool m_enablePcm = true
 Enables the persistent contact manifold algorithm to be used as the narrow phase algorithm.
 
bool m_kinematicFiltering = true
 Enables filtering between kinematic/kinematic objects.
 
bool m_kinematicStaticFiltering = true
 Enables filtering between kinematic/static objects.
 
float m_bounceThresholdVelocity = 2.0f
 Relative velocity below which colliding objects will not bounce.
 

Detailed Description

Configuration object that contains data to setup a Scene.


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