Section 3.6.4. rdActor – Per-Instance Custom Data

// [rdInst v1.36] Sets the PerInstance CustomData Value for all instances used by this Actor
UPARAM(DisplayName="ErrorCode") int32 rdSetPerInstanceDataValueForMesh(const UStaticMesh* mesh,int32 index,float data);

// [rdInst v1.36] Sets the PerInstance CustomData Values for all instances used by this Actor
UPARAM(DisplayName="ErrorCode") int32 rdSetPerInstanceDataForMesh(const UStaticMesh* mesh,TArray<float> data);

// [rdInst v1.36] Sets the PerInstance CustomData Value for all instances with ID (first custom float) used by this Actor
UPARAM(DisplayName="ErrorCode") int32 rdSetPerInstanceDataValueForMeshID(const UStaticMesh* mesh,float ID,int32 index,float data);

// [rdInst v1.36] Sets the PerInstance CustomData Values for instances with the ID (first custom float) used by this Actor
UPARAM(DisplayName="ErrorCode") int32 rdSetPerInstanceDataForMeshID(const UStaticMesh* mesh,float ID,TArray<float> data);

// [rdInst v1.24] Gets a reference to the Per-Instance CustomData for the mesh
TArray<float>& rdGetCustomDataPtr(UStaticMesh* mesh,int32& numData);

// [rdInst v1.24] Sets a value to the Per-Instance CustomData for the mesh
void rdSetCustomData(UStaticMesh* mesh,int32 instanceIndex,int32 dataIndex,float value);

// [rdInst v1.24] Updates the Per-Instance CustomData for the mesh
void rdUpdateCustomData(UStaticMesh* mesh);