Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Settings to define how attributes such as UVs and normals are set when converting simple collision shapes to dynamic meshes.
| Name | FSimpleCollisionToMeshAttributeSettings |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Physics/ComponentCollisionUtil.h |
| Include Path | #include "Physics/ComponentCollisionUtil.h" |
Syntax
struct FSimpleCollisionToMeshAttributeSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSimpleCollisionToMeshAttributeSettings
(
bool bEnableAttributes, |
Physics/ComponentCollisionUtil.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableAttributes | bool | Whether to enable any attributes on the constructed dynamic meshes. If false, settings for normals and UVs below will be ignored. | Physics/ComponentCollisionUtil.h | |
| bInitializeConvexAndLevelSetUVs | bool | Whether to generate UVs to convex hulls and level sets. | Physics/ComponentCollisionUtil.h | |
| bSetToPerTriangleNormals | bool | Whether to create faceted meshes where each triangle has a separate normal. | Physics/ComponentCollisionUtil.h |