ISMInstanceManager::SetSMInstanceTransform

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

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

Include

#include "Elements/SMInstance/SMInstanceManager.h"

Syntax

bool SetSMInstanceTransform
(
    const FSMInstanceId & InstanceId,
    const FTransform & InstanceTransform,
    bool bWorldSpace,
    bool bMarkRenderStateDirty,
    bool bTeleport
)

Remarks

Attempt to set the transform of the given static mesh instance. @note The transform should be in the local space of the owner ISM component, unless bWorldSpace is set.

Returns

True if the transform was updated, false otherwise.