Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.EntityComponentPointerPair< T > Struct Template Reference

An entity-component pointer pair. Used when iterating over components. More...

Public Member Functions

void Deconstruct (out EntityRef entity, out T *component)
 

Public Attributes

T * Component
 Pointer to the component. More...
 
EntityRef Entity
 The entity the component belongs to. More...
 

Detailed Description

An entity-component pointer pair. Used when iterating over components.

Template Parameters
T
Type Constraints
T :unmanaged 
T :IComponent 

Member Data Documentation

◆ Entity

The entity the component belongs to.

◆ Component

Pointer to the component.