ITypedElementSelectionInterface

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

TypedElementRuntime

Header

/Engine/Source/Runtime/TypedElementRuntime/Public/Elements/Interfaces/TypedElementSelectionInterface.h

Include

#include "Elements/Interfaces/TypedElementSelectionInterface.h"

Syntax

class ITypedElementSelectionInterface

Functions

Name Description

Public function Virtual

bool

 

AllowSelectionModifiers

(
    const FTypedElementHandle& InEleme...,
    const FTypedElementListProxy InSele...
)

Test to see whether selection modifiers (Ctrl or Shift) are allowed while selecting this element.

Public function Virtual

bool

 

CanDeselectElement

(
    const FTypedElementHandle& InEleme...,
    const FTypedElementSelectionOptions...
)

Test to see whether the given element can be deselected.

Public function Virtual

bool

 

CanSelectElement

(
    const FTypedElementHandle& InEleme...,
    const FTypedElementSelectionOptions...
)

Test to see whether the given element can be selected.

Public function

TUniquePtr< ...

 

CreateTransactedElement

(
    const FTypedElementHandle& InEleme...
)

Create a transacted element instance that can be used to save the given element for undo/redo.

Public function

TUniquePtr< ...

 

CreateTransactedElement

(
    const FTypedHandleTypeId InTypeId
)

Create a transacted element instance that can be used to load an element previously saved for undo/redo.

Protected function Virtual

TUniquePtr< ...

 

CreateTransactedElementImpl()

Create a transacted element instance that can be used to save/load elements of the implementation type for undo/redo.

Public function Virtual

bool

 

DeselectElement

(
    const FTypedElementHandle& InEleme...,
    FTypedElementListProxy InSelectionS...,
    const FTypedElementSelectionOptions...
)

Attempt to deselect the given element.

Public function Virtual

FTypedElemen...

 

GetSelectionElement

(
    const FTypedElementHandle& InEleme...,
    const FTypedElementListProxy InCurr...,
    const ETypedElementSelectionMethod ...
)

Given an element, return the element that should actually perform a selection operation.

Public function Virtual

bool

 

IsElementSelected

(
    const FTypedElementHandle& InEleme...,
    const FTypedElementListProxy InSele...,
    const FTypedElementIsSelectedOption...
)

Test to see whether the given element is currently considered selected.

Public function Virtual

bool

 

SelectElement

(
    const FTypedElementHandle& InEleme...,
    FTypedElementListProxy InSelectionS...,
    const FTypedElementSelectionOptions...
)

Attempt to select the given element.

Public function Virtual

bool

 

ShouldPreventTransactions

(
    const FTypedElementHandle& InEleme...
)

Test to see whether the given element prevents the selection set state from being transacted for undo/redo (eg, if the element belongs to a PIE instance).