Navigation
API > API/Plugins > API/Plugins/SVGImporter
Inheritance Hierarchy
References
| Module | SVGImporter |
| Header | /Engine/Plugins/Experimental/SVGImporter/Source/SVGImporter/Public/SVGActor.h |
| Include | #include "SVGActor.h" |
Syntax
UCLASS ()
class ASVGActor : public ASVGDynamicMeshesContainerActor
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FScopedTransaction > | BevelsUpdateTransaction | ||
| FDelegateHandle | BevelUpdateDelegateHandle | ||
| bool | bFillsExtrudeFinished | ||
| EditConditionHides bool | bIgnoreStrokes | ||
| bool | bIsGeneratingMeshes | ||
| bool | bIsUpdatingFills | ||
| bool | bMeshesShouldBeGenerated | ||
| EditConditionHides bool | bSmoothFillShapes | ||
| bool | bStrokesExtrudeFinished | ||
| bool | bSVGCastsShadow | ||
| bool | bSVGHasFills | ||
| bool | bSVGHasStrokes | ||
| bool | bSVGIsUnlit | ||
| Category | |||
| float | CurrExtrudeForDepth | Used to perform rudimentary depth ordering | |
| TSharedPtr< SNotificationItem > | DynMeshGenNotification | ||
| EditCondition | |||
| TObjectPtr< USceneComponent > | FillShapesRoot | ||
| TSharedPtr< FScopedTransaction > | FillsSmoothingTransaction | ||
| FDelegateHandle | FillsUpdateDelegateHandle | ||
| int32 | GeneratedShapesCount | ||
| FDelegateHandle | GenMeshDelegateHandle | ||
| TSharedPtr< FScopedTransaction > | GenMeshTransaction | ||
| Getter | |||
| meta | |||
| FVector | OffsetToCenterSVGMeshes | ||
| FSVGActorActionEndDelegate | OnFillsExtrudeEnd_Delegate | ||
| FSVGActorActionEndDelegate | OnFillsUpdateEnd_Delegate | Todo: we might be able to merge these 2 delegates with the more specific extrude ones above | |
| FSVGActorActionEndDelegate | OnShapesGenerationEnd_Delegate | ||
| FSVGActorActionEndDelegate | OnStrokesExtrudeEnd_Delegate | ||
| FSVGActorActionEndDelegate | OnStrokesUpdateEnd_Delegate | ||
| TObjectPtr< UMaterial > | PlaneMaterial | ||
| TObjectPtr< UMaterial > | PlaneMaterial_Unlit | ||
| TObjectPtr< UMaterialInstanceDynamic > | PlaneMaterialInstance | ||
| TObjectPtr< UStaticMesh > | PlaneStaticMesh | ||
| ESVGRenderMode | RenderMode | ||
| Setter | |||
| TArray< TObjectPtr< USVGDynamicMeshComponent > > | ShapeComponents | ||
| float | ShapesOffsetScale | This value is computed right after generating the SVG shapes, and used to scale the shapes offset based on the actor bounds extent | |
| TObjectPtr< USceneComponent > | StrokeShapesRoot | ||
| FDelegateHandle | StrokesUpdateDelegateHandle | ||
| TSharedPtr< FScopedTransaction > | StrokesWidthTransaction | ||
| TObjectPtr< USVGData > | SVGData | ||
| FString | SVGName | ||
| TObjectPtr< UStaticMeshComponent > | SVGPlane | ||
| int32 | UnnamedFillsNum | ||
| int32 | UnnamedStrokesNum | ||
| int32 | UpdatedBevelsCount | ||
| int32 | UpdatedFillsCount | ||
| int32 | UpdatedStrokesCount |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ASVGActor () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddFillComponent
(
const TArray< FSVGPathPolygon >& InShapesToDraw, |
||
| void | AddStrokeComponent
(
const TArray< FVector >& InPoints, |
||
| void | ApplyOffset () |
||
| void | |||
| EditConditionHides void | |||
| bool | |||
| bool | |||
| void | CenterMeshes () |
||
| void | |||
| void | |||
| void | ClearShapes () |
||
| void | |||
| void | CreateMeshesFromShape
(
const FSVGShape& InShape |
||
| void | |||
| void | |||
| void | |||
| void | DisplayMissingSVGDataError
(
const FString& InErrorMsg |
||
| void | Generate () |
||
| void | |||
| void | |||
| float | |||
| TArray< TObjectPtr< USVGFillComponent > > | |||
| float | |||
| TObjectPtr< USceneComponent > | |||
| float | GetScale () |
||
| float | |||
| TArray< TObjectPtr< USVGStrokeComponent > > | |||
| float | |||
| TObjectPtr< USceneComponent > | |||
| float | |||
| const FString & | GetSVGName () |
||
| void | |||
| void | HideShapes () |
||
| void | Initialize () |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | |||
| void | RefreshFillShapesBevel
(
EPropertyChangeType::Type ChangeType |
||
| void | RefreshFillShapesExtrude
(
const EPropertyChangeType::Type ChangeType |
||
| void | |||
| void | RefreshStrokeShapesExtrude
(
const EPropertyChangeType::Type ChangeType |
||
| void | |||
| void | |||
| EditConditionHides void | |||
| void | ResetShapes () |
||
| void | |||
| void | |||
| void | |||
| void | ScheduleFillsSmoothUpdate
(
bool bInHasSmoothingFlagChanged |
||
| void | |||
| void | |||
| void | |||
| void | SetBevelDistance
(
float InBevelDistance |
||
| void | SetFillsExtrude
(
float InFillsExtrude |
||
| void | SetScale
(
float InScale |
||
| void | SetShapesOffset
(
float InShapesOffset |
||
| void | SetStrokesExtrude
(
float InStrokesExtrude |
||
| void | SetStrokesWidth
(
float InStrokesWidth |
||
| void | |||
| void | |||
| void | ShowShapes () |
||
| EditConditionHides void | Split () |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | UpdateFillShapesBevel
(
float InBevel, |
||
| void | UpdateFillShapesExtrude
(
float InExtrude, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | UpdateStrokeShapesExtrude
(
float InExtrude, |
||
| void | |||
| void | |||
| void |
Overridden from ASVGDynamicMeshesContainerActor
| Type | Name | Description | |
|---|---|---|---|
| TArray< UDynamicMeshComponent * > |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| void | Destroyed () |
Called when this actor is explicitly being destroyed during gameplay or in the editor, not called during level streaming or gameplay ending | |
| void | Called after all the components in the Components array are registered, called both in editor and during gameplay. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | PostDuplicate
(
bool bDuplicateForPIE |
Called after duplication & serialization and before PostLoad. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& InPropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PostTransacted
(
const FTransactionObjectEvent& InTransactionEvent |
Called after the object has been transacted in some way. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Typedefs
| Name | Description |
|---|---|
| FSVGActorActionEndDelegate |