Navigation
API > API/Runtime > API/Runtime/Engine
ID of an instance within a primitive, persistent for the lifetime of the instance. Can be used as a linear index as the maximum possible value is never higher than the high-water-mark for the number of instances in the component.
| Name | FPrimitiveInstanceId |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/InstanceDataTypes.h |
| Include Path | #include "InstanceDataTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FPrimitiveInstanceId
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Id | int32 | InstanceDataTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetAsIndex() |
InstanceDataTypes.h | ||
bool IsValid() |
InstanceDataTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FPrimitiveInstanceId& Other |
InstanceDataTypes.h |