Inherits Physics::ShapeConfiguration.
|
enum class | MeshType : AZ::u8 { TriangleMesh = 0
, Convex
} |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
AZ::Vector3 | m_scale = ShapeConstants::DefaultScale |
|
◆ GetShapeType()
ShapeType Physics::CookedMeshShapeConfiguration::GetShapeType |
( |
| ) |
const |
|
overridevirtual |
◆ SetCookedMeshData()
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).
The documentation for this class was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Physics/ShapeConfiguration.h