InstancedStaticMeshComponent.BatchUpdateInstanceTransforms(int, UnrealEngine.Framework.Transform[], bool, bool, bool) Method
Updates the transform for an array of instances
public bool BatchUpdateInstanceTransforms(int startInstanceIndex, UnrealEngine.Framework.Transform[] instanceTransforms, bool worldSpace=false, bool markRenderStateDirty=false, bool teleport=false);
startInstanceIndex
System.Int32
The starting index of the instances to update
instanceTransforms
Transform[]
The new transforms to apply
worldSpace
System.Boolean
If true
, the new transforms are interpreted as a world space transforms, otherwise it is interpreted as local space
markRenderStateDirty
System.Boolean
If the render state is marked as dirty the change should be visible immediately
teleport
System.Boolean
Whether the instances physics should be moved normally, or teleported (moved instantly, ignoring velocity)
System.Boolean
true
if successful