UOverlayComponent

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshEditor

Header

/Engine/Plugins/Editor/MeshEditor/Source/MeshEditor/Public/OverlayComponent.h

Include

#include "OverlayComponent.h"

Syntax

UCLASS()
class UOverlayComponent : public UMeshComponent

Constructors

Name Description

Public function

UOverlayComponent

(
    const FObjectInitializer& ObjectIn...
)

Default UObject constructor.

Functions

Name Description

Public function

FOverlayLine...

 

AddLine

(
    const FOverlayLine& OverlayLine
)

Add a line to the overlay

Public function

FOverlayPoin...

 

AddPoint

(
    const FOverlayPoint& OverlayPoint
)

Add a point to the overlay

Public function

FOverlayTria...

 

AddTriangle

(
    const FOverlayTriangle& OverlayTri...
)

Add a triangle to the overlay

Public function

void

 

Clear()

Clear all primitives

Public function

void

 

InsertLine

(
    const FOverlayLineID ID,
    const FOverlayLine& OverlayLine
)

Insert a line with the given ID to the overlay

Public function

void

 

InsertPoint

(
    const FOverlayPointID ID,
    const FOverlayPoint& OverlayPoint
)

Insert a point with the given ID to the overlay

Public function

void

 

InsertTriangle

(
    const FOverlayTriangleID ID,
    const FOverlayTriangle& OverlayTri...
)

Insert a triangle with the given ID to the overlay

Public function Const

bool

 

IsLineValid

(
    const FOverlayLineID ID
)

Queries whether a line with the given ID exists

Public function Const

bool

 

IsPointValid

(
    const FOverlayPointID ID
)

Queries whether a point with the given ID exists

Public function Const

bool

 

IsTriangleValid

(
    const FOverlayTriangleID ID
)

Queries whether a triangle with the given ID exists

Public function

void

 

RemoveLine

(
    const FOverlayLineID ID
)

Remove a line from the overlay

Public function

void

 

RemovePoint

(
    const FOverlayPointID ID
)

Remove a point from the overlay

Public function

void

 

RemoveTriangle

(
    const FOverlayTriangleID ID
)

Remove a triangle from the overlay

Public function

void

 

SetLineColor

(
    const FOverlayLineID ID,
    const FColor& NewColor
)

Sets the color of a line

Public function

void

 

SetLineMaterial

(
    UMaterialInterface* InLineMate...
)

Specify material which handles lines

Public function

void

 

SetLineThickness

(
    const FOverlayLineID ID,
    const float NewThickness
)

Sets the thickness of a line

Public function

void

 

SetPointColor

(
    const FOverlayPointID ID,
    const FColor& NewColor
)

Sets the color of a point

Public function

void

 

SetPointMaterial

(
    UMaterialInterface* InPointMat...
)

Specify material which handles points

Public function

void

 

SetPointSize

(
    const FOverlayPointID ID,
    const float NewSize
)

Sets the size of a point

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback