UInstancedStaticMeshComponent::AddInstances

Add multiple instances to this component. Transform is given in local space of this component.

Windows
MacOS
Linux

Override Hierarchy

UInstancedStaticMeshComponent::AddInstances()

UHierarchicalInstancedStaticMeshComponent::AddInstances()

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

virtual TArray< int32 > AddInstances
(
    const TArray< FTransform > & InstanceTransforms,
    bool bShouldReturnIndices
)

Remarks

Add multiple instances to this component. Transform is given in local space of this component.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss