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