Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedStaticMeshComponent
Description
Attempt to get the transform of the given static mesh instance.
The transform should be in the local space of the owner ISM component, unless bWorldSpace is set.
Virtual Inheritance
- ISMInstanceManager::GetSMInstanceTransform → UInstancedStaticMeshComponent::GetSMInstanceTransform
| Name | GetSMInstanceTransform |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
virtual bool GetSMInstanceTransform
(
const FSMInstanceId & InstanceId,
FTransform & OutInstanceTransform,
bool bWorldSpace
) const
True if the transform was retrieved, false otherwise.