Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine
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
| Type | Name | Description | |
|---|---|---|---|
| TArray< FKBoxElem > | BoxElems | ||
| TArray< FKConvexElem > | ConvexElems | ||
| TArray< FKLevelSetElem > | LevelSetElems | ||
| FKConvexGeomRenderInfo * | RenderInfo | ||
| TArray< FKSkinnedLevelSetElem > | SkinnedLevelSetElems | ||
| TArray< FKSphereElem > | SphereElems | ||
| TArray< FKSphylElem > | SphylElems | ||
| TArray< FKTaperedCapsuleElem > | TaperedCapsuleElems |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FKAggregateGeom
(
const FKAggregateGeom& Other |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FBox | CalcAABB
(
const FTransform& Transform |
||
| 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) | |
| void | |||
| void | FixupDeprecated
(
FArchive& Ar |
||
| void | Release the RenderInfo (if its there) and safely clean up any resources. | ||
| void | GetAggGeom
(
const FTransform& Transform, |
||
| SIZE_T | |||
| FKShapeElem * | GetElement
(
const EAggCollisionShape::Type Type, |
||
| const FKShapeElem * | GetElement
(
const int32 InIndex |
||
| FKShapeElem * | GetElement
(
const int32 InIndex |
||
| int32 | GetElementCount
(
EAggCollisionShape::Type Type |
||
| int32 | |||
| FVector::FReal | GetScaledVolume
(
const FVector& Scale3D |
Returns the volume of this element | |
| FGuid | MakeDDCKey () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| const FKAggregateGeom & | operator=
(
const FKAggregateGeom& Other |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector::FReal | GetVolume
(
const FVector& Scale3D |
Changed to GetScaledVolume. Note that Volume calculation now includes non-uniform scale so values may have changed |