ITypedElementWorldInterface

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Elements/Interfaces/TypedElementWorldInterface.h

Include

#include "Elements/Interfaces/TypedElementWorldInterface.h"

Syntax

class ITypedElementWorldInterface

Functions

Name Description

Public function Virtual

bool

 

CanDeleteElement

(
    const FTypedElementHandle& InEleme...
)

Can the given element be deleted?

Public function Virtual

bool

 

CanDuplicateElement

(
    const FTypedElementHandle& InEleme...
)

Can the given element be duplicated?

Public function Virtual

bool

 

CanEditElement

(
    const FTypedElementHandle& InEleme...
)

Can this element actually be edited in the world?

Public function Virtual

bool

 

CanMoveElement

(
    const FTypedElementHandle& InEleme...,
    const ETypedElementWorldType InWorl...
)

Can the given element be moved within the world?

Public function Virtual

bool

 

DeleteElement

(
    const FTypedElementHandle& InEleme...,
    UWorld* InWorld,
    UTypedElementSelectionSet* InS...,
    const FTypedElementDeletionOptions ...
)

Delete the given element. @note Default version calls DeleteElements with a single element.

Public function Virtual

bool

 

DeleteElements

(
    TArrayView< const FTypedElementHand...,
    UWorld* InWorld,
    UTypedElementSelectionSet* InS...,
    const FTypedElementDeletionOptions ...
)

Delete the given set of elements.

Public function Virtual

FTypedElemen...

 

DuplicateElement

(
    const FTypedElementHandle& InEleme...,
    UWorld* InWorld,
    const FVector& InLocationOffset
)

Duplicate the given element. @note Default version calls DuplicateElements with a single element.

Public function Virtual

void

 

DuplicateElements

(
    TArrayView< const FTypedElementHand...,
    UWorld* InWorld,
    const FVector& InLocationOffset,
    TArray< FTypedElementHandle >& Out...
)

Duplicate the given set of elements.

Public function Virtual

bool

 

FindSuitableTransformAlongPath

(
    const FTypedElementHandle& InEleme...,
    const FVector& InPathStart,
    const FVector& InPathEnd,
    const FCollisionShape& InTestShape,
    TArrayView< const FTypedElementHand...,
    FTransform& OutSuitableTransform
)

Attempt to find a suitable (non-intersecting) transform for the given element along the given path.

Public function Virtual

bool

 

FindSuitableTransformAtPoint

(
    const FTypedElementHandle& InEleme...,
    const FTransform& InPotentialTrans...,
    FTransform& OutSuitableTransform
)

Attempt to find a suitable (non-intersecting) transform for the given element at the given point.

Public function Virtual

bool

 

GetBounds

(
    const FTypedElementHandle& InEleme...,
    FBoxSphereBounds& OutBounds
)

Get the bounds of this element, if any.

Public function Virtual

ULevel *

 

GetOwnerLevel

(
    const FTypedElementHandle& InEleme...
)

Get the owner level associated with this element, if any.

Public function Virtual

UWorld *

 

GetOwnerWorld

(
    const FTypedElementHandle& InEleme...
)

Get the owner world associated with this element, if any.

Public function Virtual

bool

 

GetPivotOffset

(
    const FTypedElementHandle& InEleme...,
    FVector& OutPivotOffset
)

Get the local space offset of this element that should be added to its pivot location, if any.

Public function Virtual

bool

 

GetRelativeTransform

(
    const FTypedElementHandle& InEleme...,
    FTransform& OutTransform
)

Get the transform of this element relative to its parent, if any.

Public function Virtual

bool

 

GetWorldTransform

(
    const FTypedElementHandle& InEleme...,
    FTransform& OutTransform
)

Get the transform of this element within its owner world, if any.

Public function Virtual

bool

 

IsTemplateElement

(
    const FTypedElementHandle& InEleme...
)

Is this element considered a template within its world (eg, a CDO or archetype).

Public function Virtual

void

 

NotifyMovementEnded

(
    const FTypedElementHandle& InEleme...
)

Notify that this element is done being moved.

Public function Virtual

void

 

NotifyMovementOngoing

(
    const FTypedElementHandle& InEleme...
)

Notify that this element is currently being moved.

Public function Virtual

void

 

NotifyMovementStarted

(
    const FTypedElementHandle& InEleme...
)

Notify that this element is about to be moved.

Public function Virtual

bool

 

SetPivotOffset

(
    const FTypedElementHandle& InEleme...,
    const FVector& InPivotOffset
)

Attempt to set the local space offset of this element that should be added to its pivot location.

Public function Virtual

bool

 

SetRelativeTransform

(
    const FTypedElementHandle& InEleme...,
    const FTransform& InTransform
)

Attempt to set the transform of this element relative to its parent.

Public function Virtual

bool

 

SetWorldTransform

(
    const FTypedElementHandle& InEleme...,
    const FTransform& InTransform
)

Attempt to set the transform of this element within its owner world.