Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FKLevelSetElem |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/LevelSetElem.h |
| Include Path | #include "PhysicsEngine/LevelSetElem.h" |
Syntax
USTRUCT ()
struct FKLevelSetElem : public FKShapeElem
Inheritance Hierarchy
- FKShapeElem → FKLevelSetElem
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| PhysicsEngine/LevelSetElem.h | |||
FKLevelSetElem
(
const FKLevelSetElem& Other |
PhysicsEngine/LevelSetElem.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LevelSet | TSharedPtr< Chaos::FLevelSet, ESPMode::ThreadSafe > | PhysicsEngine/LevelSetElem.h | ||
| Transform | FTransform | Transform of this element | PhysicsEngine/LevelSetElem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildLevelSet
(
const FTransform& GridTransform, |
PhysicsEngine/LevelSetElem.h | ||
FBox CalcAABB
(
const FTransform& BoneTM, |
PhysicsEngine/LevelSetElem.h | ||
virtual void DrawElemSolid
(
FPrimitiveDrawInterface* PDI, |
PhysicsEngine/LevelSetElem.h | ||
FTransform GetCenteredTransform() |
Get the tranform of the center of the level set. In contrast, GetTransform() gets a transform relative to the corner. | PhysicsEngine/LevelSetElem.h | |
void GetElemSolid
(
const FTransform& ElemTM, |
PhysicsEngine/LevelSetElem.h | ||
void GetInteriorGridCells
(
TArray< FBox >& CellBoxes, |
Get geometry of all cells where the level set function is less than or equal to InteriorThreshold | PhysicsEngine/LevelSetElem.h | |
const TSharedPtr< Chaos::FLevelSet, ESPMode::ThreadSafe > GetLevelSet() |
PhysicsEngine/LevelSetElem.h | ||
void GetLevelSetData
(
FTransform& OutGridTransform, |
PhysicsEngine/LevelSetElem.h | ||
| Get geometry of all cell faces where level set function changes sign | PhysicsEngine/LevelSetElem.h | ||
FIntVector3 GridResolution() |
PhysicsEngine/LevelSetElem.h | ||
void ScaleElem
(
FVector DeltaSize, |
PhysicsEngine/LevelSetElem.h | ||
bool Serialize
(
FArchive& Ar |
PhysicsEngine/LevelSetElem.h | ||
void SetCenteredTransform
(
const FTransform& CenteredTransform |
Set the tranform of the center of the level set. In contrast, SetTransform() sets a transform relative to the corner. | PhysicsEngine/LevelSetElem.h | |
void SetTransform
(
const FTransform& InTransform |
PhysicsEngine/LevelSetElem.h | ||
FBox UntransformedAABB() |
PhysicsEngine/LevelSetElem.h |
Overridden from FKShapeElem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DrawElemWire
(
FPrimitiveDrawInterface* PDI, |
Draw functions. | PhysicsEngine/LevelSetElem.h | |
virtual FTransform GetTransform() |
PhysicsEngine/LevelSetElem.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FKLevelSetElem & operator=
(
const FKLevelSetElem& Other |
PhysicsEngine/LevelSetElem.h |