Entity culling (for instance, prediction culling) is handled here.
More...
Entity culling (for instance, prediction culling) is handled here.
◆ Culled()
bool Quantum.Core.FrameBase.Culled |
( |
EntityRef |
entityRef | ) |
|
|
inline |
If the entity is prediction-culled.
- Parameters
-
entityRef | The reference of the entity being checked. |
- Returns
- True if the frame is predicted and the entity is culled. False otherwise.
◆ ClearCulledState()
void Quantum.Core.FrameBase.ClearCulledState |
( |
| ) |
|
|
inline |
Marks all entities as not culled.
◆ Cull()
void Quantum.Core.FrameBase.Cull |
( |
EntityRef |
entityRef | ) |
|
|
inline |
Marks a cullable and existing entity as culled. If the entity does not Exist or is not cullable, nothing is done.
- Parameters
-
entityRef | The reference of the entity being culled. |
◆ IsCulled()
bool Quantum.Core.FrameBase.IsCulled |
( |
EntityRef |
entityRef | ) |
|
|
inline |
If an entity is currently culled from the simulation, regardless of the frame state (Predicted or Verified).
- Parameters
-
entityRef | The reference of the entity being checked. |
- Returns
- True if the entity is culled OR does NOT Exist. False otherwise.
◆ SetCullable()
void Quantum.Core.FrameBase.SetCullable |
( |
EntityRef |
entityRef, |
|
|
bool |
cullable |
|
) |
| |
|
inline |
Sets if an existing entity is cullable or not.
- Parameters
-
entityRef | The reference of the entity being set. |
cullable | If the entity should be cullable (true) or not (false). |
◆ IsCullable()
bool Quantum.Core.FrameBase.IsCullable |
( |
EntityRef |
entity | ) |
|
|
inline |
If an entity can be culled during simulation. For instance, used by the prediction culling systems to cull entities outside of the prediction area.
- Parameters
-
entity | The reference of the entity being checked. |
- Returns
- True if the entity exists and can be culled. False otherwise.