Skip to content

UExperimentAgentComponent::GetId

Class: UExperimentAgentComponent

Returns a unique identifier for this component instance derived from its pointer hash.

Syntax

uint32 UExperimentAgentComponent::GetId() const

Return Value

Hashed pointer value used as a stable per-instance ID.

Remarks

This is used to tell two instances of the same class apart, e.g. two cars Hashed pointer value used as a stable per-instance ID.