IPlacementModeModule

Windows
MacOS
Linux

Inheritance Hierarchy

IModuleInterface

IPlacementModeModule

FPlacementModeModule

References

Module

PlacementMode

Header

/Engine/Source/Editor/PlacementMode/Public/IPlacementModeModule.h

Include

#include "IPlacementModeModule.h"

Syntax

class IPlacementModeModule : public IModuleInterface

Functions

Name Description

Public function

void

 

AddToRecentlyPlaced

(
    UObject* Asset,
    UActorFactory* FactoryUsed
)

Add the specified asset to the recently placed items list

Public function

void

 

AddToRecentlyPlaced

(
    const TArray< UObject* >& Ass...,
    UActorFactory* FactoryUsed
)

Add the specified assets to the recently placed items list

Public function

void

 

BroadcastStartedPlacing

(
    const TArray< UObject* >& Ass...
)

Public function

void

 

BroadcastStoppedPlacing

(
    bool bWasSuccessfullyPlaced
)

Public function

TSharedRef< ...

 

CreatePlacementModeBrowser()

Creates the placement browser widget

Public function Static

IPlacementMo...

 

Get()

Singleton-like access to this module's interface.

Public function Const

void

 

GetFilteredItemsForCategory

(
    FName Category,
    TArray< TSharedPtr< FPlaceableItem ...,
    TFunctionRef< bool...
)

Get all the items in a given category, filtered by the specified predicate

Public function Const

void

 

GetItemsForCategory

(
    FName Category,
    TArray< TSharedPtr< FPlaceableItem ...
)

Get all the items in a given category, unsorted

Public function Const

const TArray...

 

GetRecentlyPlaced()

Get a copy of the recently placed items

Public function Const

const FPlace...

 

GetRegisteredPlacementCategory

(
    FName UniqueHandle
)

Retrieve an already registered category

Public function Const

void

 

GetSortedCategories

(
    TArray< FPlacementCategoryInfo >& ...
)

Populate the specified array with all registered category information, sorted by SortOrder

Public function Static

bool

 

IsAvailable()

Checks to see if this module is loaded and ready.

Public function

FOnAllPlacea...

 

OnAllPlaceableAssetsChanged()

Public function

FOnPlacement...

 

OnPlacementModeCategoryRefreshed()

Public function

FOnRecentlyP...

 

OnRecentlyPlacedChanged()

Public function

FOnStartedPl...

 

OnStartedPlacing()

Public function

FOnStoppedPl...

 

OnStoppedPlacing()

Public function

void

 

RegenerateItemsForCategory

(
    FName Category
)

Instruct the category associated with the specified unique handle that it should regenerate its items

Public function

TOptional< F...

 

RegisterPlaceableItem

(
    FName CategoryName,
    const TSharedRef< FPlaceableItem > ...
)

Register a new placeable item for the specified category

Public function

bool

 

RegisterPlacementCategory

(
    const FPlacementCategoryInfo& Info
)

Register a new category of placement items

Public function

void

 

UnregisterPlaceableItem

(
    FPlacementModeID ID
)

Unregister a previously registered placeable item

Public function

void

 

UnregisterPlacementCategory

(
    FName Handle
)

Unregister a previously registered category

Classes

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