Navigation
API > API/Runtime > API/Runtime/Engine
Container for an aggregate of collision shapes
| Name | FKAggregateGeom |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/AggregateGeom.h |
| Include Path | #include "PhysicsEngine/AggregateGeom.h" |
Syntax
USTRUCT ()
struct FKAggregateGeom
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FKAggregateGeom
(
const FKAggregateGeom& Other |
PhysicsEngine/AggregateGeom.h | ||
| PhysicsEngine/AggregateGeom.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoxElems | TArray< FKBoxElem > | PhysicsEngine/AggregateGeom.h |
|
|
| ConvexElems | TArray< FKConvexElem > | PhysicsEngine/AggregateGeom.h |
|
|
| LevelSetElems | TArray< FKLevelSetElem > | PhysicsEngine/AggregateGeom.h |
|
|
| MLLevelSetElems | TArray< FKMLLevelSetElem > | PhysicsEngine/AggregateGeom.h |
|
|
| SkinnedLevelSetElems | TArray< FKSkinnedLevelSetElem > | PhysicsEngine/AggregateGeom.h |
|
|
| SkinnedTriangleMeshElems | TArray< FKSkinnedTriangleMeshElem > | PhysicsEngine/AggregateGeom.h |
|
|
| SphereElems | TArray< FKSphereElem > | PhysicsEngine/AggregateGeom.h |
|
|
| SphylElems | TArray< FKSphylElem > | PhysicsEngine/AggregateGeom.h |
|
|
| TaperedCapsuleElems | TArray< FKTaperedCapsuleElem > | PhysicsEngine/AggregateGeom.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| RenderInfoLock | UE::FMutex | PhysicsEngine/AggregateGeom.h | ||
| RenderInfoPtr | std::atomic< class FKConvexGeomRenderInfo * > | NOTE: RenderInfo is generated concurrently and lazily (hence being mutable) | PhysicsEngine/AggregateGeom.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddElement
(
const T& Elem |
Add a typed element to the appropriate container. | PhysicsEngine/AggregateGeom.h | |
FBox CalcAABB
(
const FTransform& Transform |
PhysicsEngine/AggregateGeom.h | ||
void CalcBoxSphereBounds
(
FBoxSphereBounds& Output, |
Calculates a tight box-sphere bounds for the aggregate geometry; this is more expensive than CalcAABB (tight meaning the sphere may be smaller than would be required to encompass the AABB, but all individual components lie within both the box and the sphere) | PhysicsEngine/AggregateGeom.h | |
void EmptyElements() |
PhysicsEngine/AggregateGeom.h | ||
void EmptyImportedElements() |
PhysicsEngine/AggregateGeom.h | ||
void FixupDeprecated
(
FArchive& Ar |
PhysicsEngine/AggregateGeom.h | ||
void FreeRenderInfo () |
Release the RenderInfo (if its there) and safely clean up any resources. | PhysicsEngine/AggregateGeom.h | |
void GetAggGeom
(
const FTransform& Transform, |
PhysicsEngine/AggregateGeom.h | ||
SIZE_T GetAllocatedSize() |
PhysicsEngine/AggregateGeom.h | ||
FKShapeElem * GetElement
(
const EAggCollisionShape::Type Type, |
PhysicsEngine/AggregateGeom.h | ||
FKShapeElem * GetElement
(
const int32 InIndex |
PhysicsEngine/AggregateGeom.h | ||
const FKShapeElem * GetElement
(
const int32 InIndex |
PhysicsEngine/AggregateGeom.h | ||
const FKShapeElem * GetElement
(
const EAggCollisionShape::Type Type, |
PhysicsEngine/AggregateGeom.h | ||
const FKShapeElem * GetElementByName
(
const FName InName |
PhysicsEngine/AggregateGeom.h | ||
int32 GetElementCount
(
EAggCollisionShape::Type Type |
PhysicsEngine/AggregateGeom.h | ||
int32 GetElementCount () |
PhysicsEngine/AggregateGeom.h | ||
int32 GetElementIndexByName
(
const FName InName |
PhysicsEngine/AggregateGeom.h | ||
FVector::FReal GetScaledVolume
(
const FVector& Scale3D |
Returns the volume of this element | PhysicsEngine/AggregateGeom.h | |
FVector::FReal GetVolume
(
const FVector& Scale3D |
Returns the volume of this element | PhysicsEngine/AggregateGeom.h | |
FGuid MakeDDCKey() |
PhysicsEngine/AggregateGeom.h | ||
auto VisitShapeAndContainer
(
FKShapeElem& InElement, |
PhysicsEngine/AggregateGeom.h | ||
auto VisitShapeAndContainer
(
const FKShapeElem& InElement, |
PhysicsEngine/AggregateGeom.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FKAggregateGeom & operator=
(
const FKAggregateGeom& Other |
PhysicsEngine/AggregateGeom.h |