ISMInstanceManager

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Elements/SMInstance/SMInstanceManager.h

Include

#include "Elements/SMInstance/SMInstanceManager.h"

Syntax

class ISMInstanceManager

Functions

Name Description

Public function Virtual Const

bool

 

CanDeleteSMInstance

(
    const FSMInstanceId& InstanceId
)

Can the given static mesh instance be deleted?

Public function Virtual Const

bool

 

CanDuplicateSMInstance

(
    const FSMInstanceId& InstanceId
)

Can the given static mesh instance be duplicated?

Public function Const

bool

 

CanEditSMInstance

(
    const FSMInstanceId& InstanceId
)

Can the given static mesh instance be edited?

Public function Const

bool

 

CanMoveSMInstance

(
    const FSMInstanceId& InstanceId,
    const ETypedElementWorldType WorldT...
)

Can the given static mesh instance be moved in the world?

Public function

bool

 

DeleteSMInstances

(
    TArrayView< const FSMInstanceId > I...
)

Attempt to delete the given static mesh instances.

Public function

bool

 

DuplicateSMInstances

(
    TArrayView< const FSMInstanceId > I...,
    TArray< FSMInstanceId >& OutNewIns...
)

Attempt to duplicate the given static mesh instances, retrieving the IDs of any new instances.

Public function Virtual

void

 

ForEachSMInstanceInSelectionGroup

(
    const FSMInstanceId& InstanceId,
    TFunctionRef< bool)> ...
)

Enumerate every static mesh instance element within the selection group that the given static mesh instance belongs to (including the given static mesh instance).

Public function Virtual Const

FText

 

GetSMInstanceDisplayName

(
    const FSMInstanceId& InstanceId
)

Get the display name of the given static mesh instance.

Public function Virtual Const

FText

 

GetSMInstanceTooltip

(
    const FSMInstanceId& InstanceId
)

Get the tooltip of the given static mesh instance.

Public function Const

bool

 

GetSMInstanceTransform

(
    const FSMInstanceId& InstanceId,
    FTransform& OutInstanceTransform,
    bool bWorldSpace
)

Attempt to get the transform of the given static mesh instance.

Public function

void

 

NotifySMInstanceMovementEnded

(
    const FSMInstanceId& InstanceId
)

Notify that the given static mesh instance is done being moved.

Public function

void

 

NotifySMInstanceMovementOngoing

(
    const FSMInstanceId& InstanceId
)

Notify that the given static mesh instance is currently being moved.

Public function

void

 

NotifySMInstanceMovementStarted

(
    const FSMInstanceId& InstanceId
)

Notify that the given static mesh instance is about to be moved.

Public function

void

 

NotifySMInstanceSelectionChanged

(
    const FSMInstanceId& InstanceId,
    const bool bIsSelected
)

Notify that the given static mesh instance selection state has changed.

Public function

bool

 

SetSMInstanceTransform

(
    const FSMInstanceId& InstanceId,
    const FTransform& InstanceTransfor...,
    bool bWorldSpace,
    bool bMarkRenderStateDirty,
    bool bTeleport
)

Attempt to set the transform of the given static mesh instance.