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

const physx:...

 

GetBoxGeometry()

Public function

physx::PxBox...

 

GetBoxGeometry()

Public function Const

const physx:...

 

GetCapsuleGeometry()

Public function

physx::PxCap...

 

GetCapsuleGeometry()

Public function

physx::PxCon...

 

GetConvexGeometry()

Public function Const

const physx:...

 

GetConvexGeometry()

Public function Const

const physx:...

 

GetGeometry()

Public function

physx::PxGeo...

 

GetGeometry()

Public function Const

const physx:...

 

GetSphereGeometry()

Public function

physx::PxSph...

 

GetSphereGeometry()

Public function Const

const physx:...

 

GetTriMeshGeometry()

Public function

physx::PxTri...

 

GetTriMeshGeometry()

Public function Const

ECollisionSh...

 

GetType()

Operators

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss