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 FSimpleCollisionToMeshAttributeSettings
Remarks
Settings to define how attributes such as UVs and normals are set when converting simple collision shapes to dynamic meshes.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableAttributes | Whether to enable any attributes on the constructed dynamic meshes. If false, settings for normals and UVs below will be ignored. | |
| bool | bInitializeConvexAndLevelSetUVs | Whether to generate UVs to convex hulls and level sets. | |
| bool | bSetToPerTriangleNormals | Whether to create faceted meshes where each triangle has a separate normal. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSimpleCollisionToMeshAttributeSettings
(
bool bEnableAttributes, |