| FKShapeElem
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConvexElem.h |
Include |
#include "PhysicsEngine/ConvexElem.h" |
struct FKConvexElem : public FKShapeElem
One convex hull, used for simplified collision.
Name | Description | |
---|---|---|
|
FKConvexElem() |
|
|
FKConvexElem ( |
Name | Description | |
---|---|---|
|
~FKConvexElem() |
Name | Description | ||
---|---|---|---|
|
AddCachedSolidConvexGeom ( |
||
|
BakeTransformToVerts() |
Apply current element transform to verts, and reset transform to identity |
|
|
CalcAABB ( |
Calculate a bounding box for this convex element with the specified transform and scale |
|
|
ConvexFromBoxElem ( |
Utility for setting this convex element to match a supplied box element. Also copies transform. |
|
|
DrawElemWire ( |
||
|
GetPlanes |
Get set of planes that define this convex hull |
|
|
GetTransform() |
Get current transform applied to convex mesh vertices |
|
|
float |
GetVolume ( |
Returns the volume of this element |
|
HullFromPlanes |
Utility for creating a convex hull from a set of planes. Will reset current state of this elem. |
|
|
Reset() |
Reset the hull to empty all arrays |
|
|
ScaleElem ( |
||
|
SetTransform ( |
Modify the transform to apply to convex mesh vertices |
|
|
UpdateElemBox() |
Updates internal ElemBox based on current value of VertexData |
Name | Description | ||
---|---|---|---|
|
const FKConv... |
operator= ( |
Name |
Description |
---|---|
StaticShapeType |