UInstancedStaticMeshComponent::GetInstanceTransform

Get the transform for the instance specified.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

bool GetInstanceTransform
(
    int32 InstanceIndex,
    FTransform & OutInstanceTransform,
    bool bWorldSpace
) const

Remarks

Get the transform for the instance specified. Instance is returned in local space of this component unless bWorldSpace is set. Returns True on success.