Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Settings to define how simple collision shapes are triangulated.
| Name | FSimpleCollisionTriangulationSettings |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Physics/ComponentCollisionUtil.h |
| Include Path | #include "Physics/ComponentCollisionUtil.h" |
Syntax
struct FSimpleCollisionTriangulationSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bApproximateLevelSetWithCubes | bool | Whether to cheaply approximate level set meshes with voxel cubes. Otherwise the level set will be triangulated using marching cubes. | Physics/ComponentCollisionUtil.h | |
| BoxSphereStepsPerSide | int32 | Steps to use per side if bUseBoxSphere is true. | Physics/ComponentCollisionUtil.h | |
| bUseBoxSphere | bool | Whether to use a box-sphere triangulation for spheres (otherwise, uses a lat/long sphere triangulation) | Physics/ComponentCollisionUtil.h | |
| CapsuleCircleSteps | int32 | Steps to use radially on the capsule. | Physics/ComponentCollisionUtil.h | |
| CapsuleHemisphereSteps | int32 | Steps to use along the capsule hemisphere arc. | Physics/ComponentCollisionUtil.h | |
| LatLongSphereSteps | int32 | Steps to use along circumference if bUseBoxSphere is false. | Physics/ComponentCollisionUtil.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitFromSphereResolution
(
int32 SphereResolution |
Init sphere-related settings from a single resolution parameter. | Physics/ComponentCollisionUtil.h |