Drawing

Choose your operating system:

Windows

macOS

Linux

Classes

Name

Description

Public class UClass

APreviewGeometryActor

An actor suitable for attaching components used to draw preview elements, such as LineSetComponent and TriangleSetComponent.

Public struct

FRenderableLine

Public struct

FRenderablePoint

Public struct UStruct

FRenderableTriangle

Public struct UStruct

FRenderableTriangleVertex

Public class

IMeshWireframeSource

IMeshWireframeSource is an abstract interface to a class that provides a set of edges.

Public class

IMeshWireframeSourceProvider

IMeshWireframeSourceProvider is an abstract interface to some implementation that can provide an IMeshWireframeSource implementation on demand.

Public class UClass

ULineSetComponent

Public class UClass Transient

UMeshElementsVisualizer

UMeshElementsVisualizer is a subclass of UPreviewGeometry that displays mesh elements.

Public class UClass

UMeshElementsVisualizerProperties

Visualization settings UMeshElementsVisualizer

Public class UClass

UMeshWireframeComponent

UMeshWireframeComponent draws a mesh wireframe as lines, with line color/thickness varying depending on line type and the configuration settings.

Public class UClass

UPointSetComponent

UPointSetComponent is a Component that draws a set of points, as small squares.

Public class UClass Transient

UPolyEditPreviewMesh

UPolyEditPreviewMesh is a variant of UPreviewMesh intended for use as a 'live preview' of a mesh creation/editing operation.

Public class UClass Transient

UPreviewGeometry

UPreviewGeometry creates and manages an APreviewGeometryActor and a set of preview geometry Components.

Public class UClass

UTriangleSetComponent

A component for rendering an arbitrary assortment of triangles.

Public class UClass Transient

UUVLayoutPreview

UUVLayoutPreview is a utility object that creates and manages a 3D plane on which a UV layout for a 3D mesh is rendered.

Public class UClass

UUVLayoutPreviewProperties

Visualization settings for UV layout preview

Enums

Name

Description

Public enum UEnum

EUVLayoutPreviewSide

Where should in-viewport UVLayoutPreview be shown, relative to target object

Functions

Name Description

Public function

void

 

MeshDebugDraw::DrawHierarchicalGrid

(
    float BaseGridScale,
    float GridZoomFactor,
    int32 MaxLevelDensity,
    const FVector& WorldMaxBounds,
    const FVector& WorldMinBounds,
    int32 Levels,
    int32 Subdivisions,
    TArray< FColor >& Colors,
    const FFrame3f& LocalFrame,
    float LineWidth,
    bool bDepthTested,
    FPrimitiveDrawInterface* PDI,
    const FTransform& Transform
)

Draw a zoomable, hierarchical grid with configurable depth and density terms

Public function

void

 

MeshDebugDraw::DrawNormals

(
    const FDynamicMeshNormalOverlay...,
    float Length,
    FColor Color,
    float Thickness,
    bool bScreenSpace,
    FPrimitiveDrawInterface* PDI,
    const FTransform& Transform
)

Draw normals of mesh overlay as lines

Public function

void

 

MeshDebugDraw::DrawSimpleFixedScreenAreaGrid

(
    const FViewCameraState& CameraStat...,
    const FFrame3f& LocalFrame,
    int32 NumGridLines,
    float VisualAngleSpan,
    float LineWidth,
    FColor Color,
    bool bDepthTested,
    FPrimitiveDrawInterface* PDI,
    const FTransform& Transform
)

Draw a basic 2D grid with a given number of lines that covers roughly a constant area of the screen

Public function

void

 

MeshDebugDraw::DrawSimpleGrid

(
    const FFrame3f& LocalFrame,
    int GridLines,
    float GridLineSpacing,
    float LineWidth,
    FColor Color,
    bool bDepthTested,
    FPrimitiveDrawInterface* PDI,
    const FTransform& Transform
)

Draw a basic 2D grid with a number of lines at given spacing

Public function

void

 

MeshDebugDraw::DrawTriCentroids

(
    const FDynamicMesh3* Mesh,
    const TArray< int >& Indices,
    float PointSize,
    FColor Color,
    FPrimitiveDrawInterface* PDI,
    const FTransform& Transform
)

Draw mesh triangle centroids as points

Public function

void

 

MeshDebugDraw::DrawVertices

(
    const FDynamicMesh3* Mesh,
    const TArray< int >& Indices,
    float PointSize,
    FColor Color,
    FPrimitiveDrawInterface* PDI,
    const FTransform& Transform
)

Draw vertices of mesh as points

Public function

void

 

MeshDebugDraw::DrawVertices

(
    const FDynamicMesh3* Mesh,
    const TSet< int >& Indices,
    float PointSize,
    FColor Color,
    FPrimitiveDrawInterface* PDI,
    const FTransform& Transform
)