FGeomBase

Base class for all classes that support storing and editing of geometry.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GeometryMode

Header

/Engine/Plugins/Editor/GeometryMode/Source/GeometryMode/Public/EditorGeometry.h

Include

#include "EditorGeometry.h"

Syntax

class FGeomBase

Remarks

Base class for all classes that support storing and editing of geometry.

Variables

Name Description

Protected variable

FVector

 

Mid

The mid point for this object.

Protected variable

FVector

 

Normal

The normal vector for this object.

Protected variable

int32

 

ParentObjectIndex

Allows polys, edges and vertices to point to the FGeomObject that owns them.

Constructors

Name Description

Public function

FGeomBase()

Destructors

Name Description

Public function Virtual

~FGeomBase()

Functions

Name Description

Public function

void

 

ForceSelectionIndex

(
    int32 InSelectionIndex
)

Allows manual setting of the selection index.

Public function Const

const FVecto...

 

GetMid()

Public function Const

FVector

 

GetMidPoint()

Returns a location that represents the middle of the object

Public function Const

const FVecto...

 

GetNormal()

Public function

FGeomObjectP...

 

GetParentObject()

Public function Const

const FGeomO...

 

GetParentObject()

Public function Const

int32

 

GetParentObjectIndex()

Public function Const

int32

 

GetSelectionIndex()

Public function Virtual

FVector

 

GetWidgetLocation()

Returns a valid position for the widget to be drawn at for this object

Public function Virtual Const

FRotator

 

GetWidgetRotation()

Gets the local rotation to use when transforming this object

Public function Const

bool

 

IsSelected()

Public function Virtual Const

bool

 

IsVertex()

Returns true if this geometry objects is a vertex.

Public function Virtual

void

 

Select

(
    bool InSelect
)

Does nothing if not in geometry mode.

Public function

void

 

SetMid

(
    const FVector& InMid
)

Public function

void

 

SetNormal

(
    const FVector& InNormal
)

Public function

void

 

SetParentObjectIndex

(
    int32 InParentObjectIndex
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss