|
| virtual bool | AllowParallelBuild () const |
| | Checks whether parallel PhysX cooking is allowed. 更多...
|
| |
| virtual EPhysXCookingResult | CookConvex (FName Format, EPhysXMeshCookFlags CookFlags, const TArray< FVector > &SrcBuffer, TArray< uint8 > &OutBuffer) const =0 |
| | Cooks the source convex data for the platform and stores the cooked data internally. 更多...
|
| |
| virtual bool | CookHeightField (FName Format, FIntPoint HFSize, const void *Samples, uint32 SamplesStride, TArray< uint8 > &OutBuffer) const =0 |
| | Cooks the source height field data for the platform and stores the cooked data internally. 更多...
|
| |
| virtual bool | CookTriMesh (FName Format, EPhysXMeshCookFlags CookFlags, const TArray< FVector > &SrcVertices, const TArray< struct FTriIndices > &SrcIndices, const TArray< uint16 > &SrcMaterialIndices, const bool FlipNormals, TArray< uint8 > &OutBuffer) const =0 |
| | Cooks the source Tri-Mesh data for the platform and stores the cooked data internally. 更多...
|
| |
| virtual EPhysXCookingResult | CreateConvex (FName Format, EPhysXMeshCookFlags CookFlags, const TArray< FVector > &SrcBuffer, physx::PxConvexMesh *&OutBuffer) const =0 |
| | Cooks the source convex data for the platform and returns the PhysX geometry directly (meant for runtime when you just need the geometry directly without serializing out) 更多...
|
| |
| virtual bool | CreateHeightField (FName Format, FIntPoint HFSize, const void *Samples, uint32 SamplesStride, physx::PxHeightField *&OutHeightField) const =0 |
| | Cooks the source height field data for the platform and returns the PhysX geometry directly (meant for runtime when you just need the geometry directly without serializing out) 更多...
|
| |
| virtual bool | CreateTriMesh (FName Format, EPhysXMeshCookFlags CookFlags, const TArray< FVector > &SrcVertices, const TArray< struct FTriIndices > &SrcIndices, const TArray< uint16 > &SrcMaterialIndices, const bool FlipNormals, physx::PxTriangleMesh *&OutTriangleMesh) const =0 |
| | Cooks the source Tri-Mesh data for the platform and returns the PhysX geometry directly (meant for runtime when you just need the geometry directly without serializing out) 更多...
|
| |
|
virtual physx::PxCooking * | GetCooking () const =0 |
| | Get the actual physx cooker object
|
| |
| virtual void | GetSupportedFormats (TArray< FName > &OutFormats) const =0 |
| | Gets the list of supported formats. 更多...
|
| |
| virtual uint16 | GetVersion (FName Format) const =0 |
| | Gets the current version of the specified PhysX format. 更多...
|
| |
|
virtual | ~IPhysXCooking () |
| | Virtual destructor.
|
| |
IPhysXCooking, PhysX cooking and serialization abstraction