Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent
- UInstancedStaticMeshComponent::SetCustomDataValue()
- UHierarchicalInstancedStaticMeshComponent::SetCustomDataValue()
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 |
UFUNCTION (BlueprintCallable, Category="Components|InstancedStaticMesh")
virtual bool SetCustomDataValue
(
int32 InstanceIndex,
int32 CustomDataIndex,
float CustomDataValue,
bool bMarkRenderStateDirty
)
Remarks
Update custom data for specific instance