Physics system global requests.
More...
#include <SystemBus.h>
|
|
| System (System &&)=delete |
| |
|
System & | operator= (System &&)=delete |
| |
|
virtual AZStd::shared_ptr< Shape > | CreateShape (const ColliderConfiguration &colliderConfiguration, const ShapeConfiguration &configuration)=0 |
| |
| virtual void | ReleaseNativeHeightfieldObject (void *nativeHeightfieldObject)=0 |
| |
| virtual void | ReleaseNativeMeshObject (void *nativeMeshObject)=0 |
| |
| virtual bool | CookConvexMeshToFile (const AZStd::string &filePath, const AZ::Vector3 *vertices, AZ::u32 vertexCount)=0 |
| |
| virtual bool | CookConvexMeshToMemory (const AZ::Vector3 *vertices, AZ::u32 vertexCount, AZStd::vector< AZ::u8 > &result)=0 |
| |
| virtual bool | CookTriangleMeshToFile (const AZStd::string &filePath, const AZ::Vector3 *vertices, AZ::u32 vertexCount, const AZ::u32 *indices, AZ::u32 indexCount)=0 |
| |
| virtual bool | CookTriangleMeshToMemory (const AZ::Vector3 *vertices, AZ::u32 vertexCount, const AZ::u32 *indices, AZ::u32 indexCount, AZStd::vector< AZ::u8 > &result)=0 |
| |
Physics system global requests.
| virtual bool Physics::System::CookConvexMeshToFile |
( |
const AZStd::string & |
filePath, |
|
|
const AZ::Vector3 * |
vertices, |
|
|
AZ::u32 |
vertexCount |
|
) |
| |
|
pure virtual |
Cooks a convex mesh and writes it to a file.
- Parameters
-
| filePath | Path to the output file. |
| vertices | Pointer to beginning of vertex data. |
| vertexCount | Number of vertices in the mesh. |
- Returns
- Succeeded cooking.
| virtual bool Physics::System::CookConvexMeshToMemory |
( |
const AZ::Vector3 * |
vertices, |
|
|
AZ::u32 |
vertexCount, |
|
|
AZStd::vector< AZ::u8 > & |
result |
|
) |
| |
|
pure virtual |
Cooks a convex mesh to a memory buffer.
- Parameters
-
| vertices | Pointer to beginning of vertex data. |
| vertexCount | Number of vertices in the mesh. |
| result | The resulting memory buffer. |
- Returns
- Succeeded cooking.
| virtual bool Physics::System::CookTriangleMeshToFile |
( |
const AZStd::string & |
filePath, |
|
|
const AZ::Vector3 * |
vertices, |
|
|
AZ::u32 |
vertexCount, |
|
|
const AZ::u32 * |
indices, |
|
|
AZ::u32 |
indexCount |
|
) |
| |
|
pure virtual |
Cooks a triangular mesh and writes it to a file.
- Parameters
-
| filePath | Path to the output file. |
| vertices | Pointer to beginning of vertex data. |
| vertexCount | Number of vertices in the mesh. |
| indices | Pointer to beginning of index data. |
| indexCount | Number of indices in the mesh. |
- Returns
- Succeeded cooking.
| virtual bool Physics::System::CookTriangleMeshToMemory |
( |
const AZ::Vector3 * |
vertices, |
|
|
AZ::u32 |
vertexCount, |
|
|
const AZ::u32 * |
indices, |
|
|
AZ::u32 |
indexCount, |
|
|
AZStd::vector< AZ::u8 > & |
result |
|
) |
| |
|
pure virtual |
Cook a triangular mesh to a memory buffer.
- Parameters
-
| vertices | Pointer to beginning of vertex data. |
| vertexCount | Number of vertices in the mesh. |
| indices | Pointer to beginning of index data. |
| indexCount | Number of indices in the mesh. |
| result | The resulting memory buffer. |
- Returns
- Succeeded cooking.
| virtual void Physics::System::ReleaseNativeHeightfieldObject |
( |
void * |
nativeHeightfieldObject | ) |
|
|
pure virtual |
Releases the height field object created by the physics backend.
- Parameters
-
| nativeHeightfieldObject | Pointer to the height field object. |
| virtual void Physics::System::ReleaseNativeMeshObject |
( |
void * |
nativeMeshObject | ) |
|
|
pure virtual |
Releases the mesh object created by the physics backend.
- Parameters
-
| nativeMeshObject | Pointer to the mesh object. |
The documentation for this class was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Physics/SystemBus.h