ALightWeightInstanceStaticMeshManager::SetSMInstanceTransform

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

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ISMInstanceManager::SetSMInstanceTransform()

ALightWeightInstanceStaticMeshManager::SetSMInstanceTransform()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/LightWeightInstanceStaticMeshManager.h

Include

#include "GameFramework/LightWeightInstanceStaticMeshManager.h"

Source

/Engine/Source/Runtime/Engine/Private/LightWeightInstanceStaticMeshManager.cpp

Syntax

virtual 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.