Skip to content

EntityInView

Narta Xaymar Dirks edited this page Oct 29, 2026 · 6 revisions
Blitz3D

EntityInView

EntityInView:Int32 entity:Int32, camera:Int32
Parameter Mode Type Default Description
entity In Int32 required Entity handle.
camera In Int32 required Camera handle.

Returns: 1 if the entity is visible to the camera, otherwise 0.

Description

Tells if an entity is inside the picture of a camera, which is handy for skipping work on things that cannot be seen. Meshes are tested with a box around them, other entities by their center.

Related Commands

EntityAlpha, EntityAutoFade, EntityBlend, EntityClass, EntityColor, EntityDepthFade 〔BlitzLLVM〕, EntityDistance, EntityFX

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally