UInstancedStaticMeshComponent::AddInstanceWorldSpace

Add an instance to this component. Transform is given in world space.

Choose your operating system:

Windows

macOS

Linux

Deprecated

  • Use AddInstance or AddInstances with bWorldSpace set to true.

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h

Include

#include "Components/InstancedStaticMeshComponent.h"

Syntax

int32 AddInstanceWorldSpace
(
    const FTransform & WorldTransform
)

Remarks

Add an instance to this component. Transform is given in world space.