|
Open 3D Engine AzFramework API Reference
2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherits Physics::ShapeConfiguration.
Public Types | |
| enum | MeshType : AZ::u8 { TriangleMesh = 0, Convex } |
Public Member Functions | |
| AZ_CLASS_ALLOCATOR (CookedMeshShapeConfiguration, AZ::SystemAllocator, 0) | |
| AZ_RTTI (CookedMeshShapeConfiguration, "{D9E58241-36BB-4A4F-B50C-1736EB7E841F}", ShapeConfiguration) | |
| CookedMeshShapeConfiguration (const CookedMeshShapeConfiguration &) | |
| CookedMeshShapeConfiguration & | operator= (const CookedMeshShapeConfiguration &) |
| ShapeType | GetShapeType () const override |
| void | SetCookedMeshData (const AZ::u8 *cookedData, size_t cookedDataSize, MeshType type) |
| const AZStd::vector< AZ::u8 > & | GetCookedMeshData () const |
| MeshType | GetMeshType () const |
| void * | GetCachedNativeMesh () |
| const void * | GetCachedNativeMesh () const |
| void | SetCachedNativeMesh (void *cachedNativeMesh) |
Public Member Functions inherited from Physics::ShapeConfiguration | |
| AZ_CLASS_ALLOCATOR (ShapeConfiguration, AZ::SystemAllocator, 0) | |
| AZ_RTTI (ShapeConfiguration, "{1FD56C72-6055-4B35-9253-07D432B94E91}") | |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
Static Public Member Functions inherited from Physics::ShapeConfiguration | |
| static void | Reflect (AZ::ReflectContext *context) |
Additional Inherited Members | |
Public Attributes inherited from Physics::ShapeConfiguration | |
| AZ::Vector3 | m_scale = AZ::Vector3::CreateOne() |
| void Physics::CookedMeshShapeConfiguration::SetCookedMeshData | ( | const AZ::u8 * | cookedData, |
| size_t | cookedDataSize, | ||
| MeshType | type | ||
| ) |
Sets the cooked data. This will release the cached mesh. Input data has to be in the physics engine specific format. (e.g. in PhysX: result of cookTriangleMesh or cookConvexMesh).
1.8.17