FKAggregateGeom

Container for an aggregate of collision shapes

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/AggregateGeom.h

Include

#include "PhysicsEngine/AggregateGeom.h"

Syntax

struct FKAggregateGeom

Remarks

Container for an aggregate of collision shapes

Variables

Constructors

Name Description

Public function

FKAggregateGeom()

Public function

FKAggregateGeom

(
    const FKAggregateGeom& Other
)

Functions

Name Description

Public function Const

FBox

 

CalcAABB

(
    const FTransform& Transform
)

Public function Const

void

 

CalcBoxSphereBounds

(
    FBoxSphereBounds& Output,
    const FTransform& LocalToWorld
)

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)

Public function

void

 

EmptyElements()

Public function

void

 

FixupDeprecated

(
    FArchive& Ar
)

Public function

void

 

FreeRenderInfo()

Release the RenderInfo (if its there) and safely clean up any resources.

Public function Const

void

 

GetAggGeom

(
    const FTransform& Transform,
    const FColor Color,
    const FMaterialRenderProxy* Ma...,
    bool bPerHullColor,
    bool bDrawSolid,
    bool bDrawsVelocity,
    int32 ViewIndex,
    FMeshElementCollector& Collector
)

Public function

FKShapeElem ...

 

GetElement

(
    const int32 InIndex
)

Public function Const

const FKShap...

 

GetElement

(
    const int32 InIndex
)

Public function

FKShapeElem ...

 

GetElement

(
    const EAggCollisionShape::Type Type,
    const int32 Index
)

Public function Const

int32

 

GetElementCount()

Public function Const

int32

 

GetElementCount

(
    EAggCollisionShape::Type Type
)

Public function Const

float

 

GetVolume

(
    const FVector& Scale3D
)

Returns the volume of this element

Public function Const

FGuid

 

MakeDDCKey()

Operators

Name Description

Public function

const FKAggr...

 

operator=

(
    const FKAggregateGeom& Other
)

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