Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedStaticMeshComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool BatchUpdateInstancesTransforms
(
int32 StartInstanceIndex, |
Update the transform for an array of instances. | Components/InstancedStaticMeshComponent.h |
|
virtual bool BatchUpdateInstancesTransforms
(
int32 StartInstanceIndex, |
This is array view version of the UFUNCTION, blueprints do not support ArrayViews at the time of adding this one | Components/InstancedStaticMeshComponent.h | |
virtual bool BatchUpdateInstancesTransforms
(
int32 StartInstanceIndex, |
TODO: KevinO cleanup. | Components/InstancedStaticMeshComponent.h |
BatchUpdateInstancesTransforms(int32, const TArray< FTransform > &, bool, bool, bool)
Description
Update the transform for an array of instances.
| Name | BatchUpdateInstancesTransforms |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
UFUNCTION (BlueprintCallable, Category="Components|InstancedStaticMesh")
virtual bool BatchUpdateInstancesTransforms
(
int32 StartInstanceIndex,
const TArray < FTransform > & NewInstancesTransforms,
bool bWorldSpace,
bool bMarkRenderStateDirty,
bool bTeleport
)
True on success.
Parameters
| Name | Remarks |
|---|---|
| StartInstanceIndex | The starting index of the instances to update |
| NewInstancesTransforms | The new transforms |
| bWorldSpace | If true, the new transforms are interpreted as a World Space transform, otherwise it is interpreted as Local Space |
| bMarkRenderStateDirty | If true, the change should be visible immediately. If you are updating many instances you should only set this to true for the last instance. |
| bTeleport | Whether or not the instances physics should be moved normally, or teleported (moved instantly, ignoring velocity). |
BatchUpdateInstancesTransforms(int32, TArrayView< const FTransform >, bool, bool, bool)
Description
This is array view version of the UFUNCTION, blueprints do not support ArrayViews at the time of adding this one
| Name | BatchUpdateInstancesTransforms |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
virtual bool BatchUpdateInstancesTransforms
(
int32 StartInstanceIndex,
TArrayView < const FTransform > NewInstancesTransforms,
bool bWorldSpace,
bool bMarkRenderStateDirty,
bool bTeleport
)
BatchUpdateInstancesTransforms(int32, const TArray< FTransform > &, const TArray< FTransform > &, bool, bool, bool)
Description
Update the transform for an array of instances. Overloaded version which takes an array of NewPreviousFrameTransforms.
| Name | BatchUpdateInstancesTransforms |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
virtual bool BatchUpdateInstancesTransforms
(
int32 StartInstanceIndex,
const TArray < FTransform > & NewInstancesTransforms,
const TArray < FTransform > & NewInstancesPrevTransforms,
bool bWorldSpace,
bool bMarkRenderStateDirty,
bool bTeleport
)