Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates > API/Runtime/Core/Templates/TReferenceControllerBase
Syntax
RefCountType SharedReferenceCount
Remarks
Number of shared references to this object. When this count reaches zero, the associated object will be destroyed (even if there are still weak references!), but not the reference controller.
This starts at 1 because we create reference controllers via the construction of a TSharedPtr, and that is the first reference. There is no point in starting at 0 and then incrementing it.