CheckObjectVisibility()
语法
Result = CheckObjectVisibility(#Camera, ObjectID)概要
Check if an object is visible from the specified camera
参数
#Camera The camera to use. ObjectID The object ID to check the visibility. It can be one of the following type: - Entity : use EntityID() to get a valid ID. - Light : use LightID() to get a valid ID. - Mesh : use MeshID() to get a valid ID. - Node : use NodeID() to get a valid ID. - ParticleEmitter: use ParticleEmitterID() to get a valid ID. - BillboardGroup : use BillboardGroupID() to get a valid ID. - Text3D : use Text3DID() to get a valid ID.
返回值
Returns non-zero if the object is visible, returns zero otherwise.
参阅
CreateCamera()
已支持操作系统
所有