FPhysicsGeometryCollection_PhysX

This object is essentially a one-stop container for any geometry a shape can have and is necessary because of the PxGeometryHolder type.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Physics/PhysicsInterfacePhysX.h

Include

#include "Physics/PhysicsInterfacePhysX.h"

Syntax

struct FPhysicsGeometryCollection_PhysX

Remarks

This object is essentially a one-stop container for any geometry a shape can have and is necessary because of the PxGeometryHolder type. This needs to have a longer lifetime than any usage of the geometry types it returns. Because we want to have that inside the interface this container is required to manage the lifetime of the holder

Constructors

Name Description

Public function

FPhysicsGeometryCollection_PhysX()

Delete default constructor, want only construction by interface (private constructor below)

Public function

FPhysicsGeometryCollection_PhysX

(
    const FPhysicsGeometryCollection_Ph...
)

No copying or assignment, move construction only, these are defaulted in the source file as they need to be able to delete physx::PxGeometryHolder which is incomplete here

Public function

FPhysicsGeometryCollection_PhysX

Destructors

Functions

Name Description

Public function Const

bool

 

GetBoxGeometry

(
    physx::PxBoxGeometry& OutGeom
)

Public function Const

bool

 

GetCapsuleGeometry

(
    physx::PxCapsuleGeometry& OutGeom
)

Public function Const

bool

 

GetConvexGeometry

(
    physx::PxConvexMeshGeometry& OutGe...
)

Public function Const

physx::PxGeo...

 

GetGeometry()

Public function Const

bool

 

GetSphereGeometry

(
    physx::PxSphereGeometry& OutGeom
)

Public function Const

bool

 

GetTriMeshGeometry

(
    physx::PxTriangleMeshGeometry& Out...
)

Public function Const

ECollisionSh...

 

GetType()

Operators

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback