CheckOnScreen¶
Description¶
Checks if the given entity is on screen based on the given range.
Parameters¶
entity
-
The pointer for the entity to check for.
range
-
The area in world-space to check if on screen, centered to
entity->position
. If set toNULL
,entity->updateRange
will be used instead.
Return Value¶
Returns whether the entity is on screen as a bool32
.