Open 3D Engine AzFramework API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Physics::PhysicsAssetShapeConfiguration Class Reference

Inherits Physics::ShapeConfiguration.

Public Member Functions

 AZ_CLASS_ALLOCATOR (PhysicsAssetShapeConfiguration, AZ::SystemAllocator)
 
 AZ_RTTI (PhysicsAssetShapeConfiguration, "{1C0046D9-BC9E-4F93-9F0E-D62654FB18EA}", ShapeConfiguration)
 
ShapeType GetShapeType () const override
 
- Public Member Functions inherited from Physics::ShapeConfiguration
 AZ_CLASS_ALLOCATOR (ShapeConfiguration, AZ::SystemAllocator)
 
 AZ_RTTI (ShapeConfiguration, "{1FD56C72-6055-4B35-9253-07D432B94E91}")
 
 ShapeConfiguration (const AZ::Vector3 &scale=ShapeConstants::DefaultScale)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from Physics::ShapeConfiguration
static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZ::Data::Asset< AZ::Data::AssetData > m_asset { AZ::Data::AssetLoadBehavior::PreLoad }
 
AZ::Vector3 m_assetScale = AZ::Vector3::CreateOne()
 
bool m_useMaterialsFromAsset = true
 
AZ::u8 m_subdivisionLevel = 4
 The level of subdivision if a primitive shape is replaced with a convex mesh due to scaling.
 
- Public Attributes inherited from Physics::ShapeConfiguration
AZ::Vector3 m_scale = ShapeConstants::DefaultScale
 

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