Configuration object that contains data to setup a Scene.
More...
#include <SceneConfiguration.h>
|
static void | Reflect (AZ::ReflectContext *context) |
|
static SceneConfiguration | CreateDefault () |
|
|
| 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.
|
|
Configuration object that contains data to setup a Scene.
The documentation for this struct was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Physics/Configuration/SceneConfiguration.h