Navigation
API > API/Plugins > API/Plugins/SVGImporter > API/Plugins/SVGImporter/ProceduralMeshes
Inheritance Hierarchy
- UMeshComponent
- IToolFrameworkComponent
- IMeshVertexCommandChangeTarget
- IMeshCommandChangeTarget
- IMeshReplacementCommandChangeTarget
- UBaseDynamicMeshComponent
- UDynamicMeshComponent
- USVGDynamicMeshComponent
References
| Module | SVGImporter |
| Header | /Engine/Plugins/Experimental/SVGImporter/Source/SVGImporter/Public/ProceduralMeshes/SVGDynamicMeshComponent.h |
| Include | #include "ProceduralMeshes/SVGDynamicMeshComponent.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=(SVG))
class USVGDynamicMeshComponent : public UDynamicMeshComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UMaterialInterface > | AssignedMaterial | ||
| float | Bevel | ||
| bool | bIsBevelBeingEdited | ||
| bool | bSVGIsUnlit | ||
| FColor | Color | ||
| ESVGEditMode | CurrentEditMode | ||
| float | DefaultExtrude | ||
| float | Extrude | ||
| FVector | ExtrudeDirection | ||
| ESVGExtrudeType | ExtrudeType | ||
| FVector | InternalCenter | ||
| float | LastValueSetExtrude | ||
| float | LastValueSetMinExtrude | ||
| ESVGMaterialType | MaterialType | ||
| TObjectPtr< UMaterial > | MeshMaterial | ||
| TObjectPtr< UMaterial > | MeshMaterial_Unlit | ||
| TObjectPtr< UMaterialInstanceDynamic > | MeshMaterialInstance | ||
| float | MinExtrudeValue | ||
| FSVGMeshActionDelegate | OnApplyMeshBevelDelegate | ||
| FSVGMeshActionDelegate | OnApplyMeshBevelPreviewDelegate | ||
| FSVGMeshActionDelegate | OnApplyMeshExtrudeDelegate | ||
| float | Scale | ||
| FColor | SVGColor | ||
| TObjectPtr< UDynamicMesh > | SVGStoredMesh | We serialize a copy of the mesh so that it is valid among sessions. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | ApplyScale () |
||
| void | |||
| UStaticMesh * | |||
| void | CenterMesh () |
||
| void | |||
| void | FlattenShape () |
Calling this function will flatten the SVG Shape, converting it to a 2D polygon | |
| float | |||
| UMaterialInstanceDynamic * | |||
| FName | GetShapeType () |
||
| void | InitializeFromSVGDynamicMesh
(
const USVGDynamicMeshComponent* InOtherSVGDynamicMeshComponent |
Initialize the current SVG Dynamic Mesh Component using the data from another component of the same type | |
| void | |||
| void | |||
| void | PostDuplicate
(
bool bDuplicateForPIE |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | |||
| void | PostTransacted
(
const FTransactionObjectEvent& InTransactionEvent |
||
| void | RefreshBevel () |
||
| void | RefreshColor () |
||
| void | |||
| void | Re-applies current extrusion value | ||
| void | Refreshes material settings (color, lit/unlit, custom material) | ||
| void | |||
| void | |||
| void | |||
| void | ScaleShape
(
float InScale |
Calling this function will scale the SVG Shape | |
| void | SetBevel
(
float InBevel |
||
| void | |||
| void | |||
| void | SetExtrudeInternal
(
float InExtrude |
Extrudes the dynamic mesh, also taking into account the base extrude value | |
| void | SetExtrudeType
(
const ESVGExtrudeType InExtrudeType |
||
| void | SetIsUnlit
(
bool bInIsUnlit |
||
| void | SetMeshEditMode
(
const ESVGEditMode InEditMode |
||
| void | SetMinExtrudeValue
(
float InBaseExtrude |
Sets the minimum value for extrusion. | |
| void | Simplify () |
||
| void |
Overridden from UDynamicMeshComponent
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |