UInstancedStaticMeshComponent::SetCustomDataValue

Update custom data for specific instance

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

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

Syntax

virtual bool SetCustomDataValue
(
    int32 InstanceIndex,
    int32 CustomDataIndex,
    float CustomDataValue,
    bool bMarkRenderStateDirty
)

Remarks

Update custom data for specific instance