Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Entities.vxObjectPool Class Reference

Public Member Functions

Spawn< T > ()
 Spawn a new object from the internal pool.
 
void Recycle< T > (T entity)
 Recycles an item in the object pool, deactivating it.
 

Properties

static vxObjectPool Instance [get]
 

Member Function Documentation

◆ Recycle< T >()

void VerticesEngine.Entities.vxObjectPool.Recycle< T > ( T entity)

Recycles an item in the object pool, deactivating it.

Template Parameters
T
Parameters
entity
Type Constraints
T :vxEntity 

◆ Spawn< T >()

T VerticesEngine.Entities.vxObjectPool.Spawn< T > ( )

Spawn a new object from the internal pool.

Template Parameters
T
Returns
Type Constraints
T :vxEntity 

The documentation for this class was generated from the following file: