Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent
- ISMInstanceManager::GetSMInstanceTransform()
- UInstancedStaticMeshComponent::GetSMInstanceTransform()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
virtual bool GetSMInstanceTransform
&40;
const FSMInstanceId & InstanceId,
FTransform & OutInstanceTransform,
bool bWorldSpace
&41; const
Remarks
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. True if the transform was retrieved, false otherwise.