Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/ConversionUtils
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ConversionUtils/SceneComponentToDynamicMesh.h |
| Include | #include "ConversionUtils/SceneComponentToDynamicMesh.h" |
Syntax
struct FToMeshOptions
Remarks
General options for converting/extracting a mesh from an asset or scene component Options may be ignored where not applicable (for example if the source type does not have LODs)
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseClosestLOD | Whether to fall back to the most similar LOD if the requested LOD is not available. | |
| bool | bWantInstanceColors | Whether to request per-instance vertex colors rather than asset colors Note this is only supported for RenderData LODs of Static Mesh components | |
| bool | bWantNormals | ||
| bool | bWantTangents | ||
| int32 | LODIndex | Which LOD to use. Ignored if the LODType is MaxAvailable or HiResSourceModel. | |
| EMeshLODType | LODType |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor requests max available LOD with normals and tangents | |||
FToMeshOptions
(
int32 LODIndex, |
LOD index constructor requests specified source model LOD index. |