InstancedStaticMeshComponent-BatchUpdateInstanceTransforms(int_Transform--_bool_bool_bool).md
April 18, 2021 ยท View on GitHub
UnrealEngine.Framework.InstancedStaticMeshComponent
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);
Parameters
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)
Returns
System.Boolean
true if successful