SetObjectScreenCulling

Description

Sets whether the object will be culled when it moves off screen. By default AGK will attempt to detect when an object has moved off screen, and objects that are no longer on screen will no longer be sent to the render pipeline. If the vertex shader modifies the vertices from their normal positions then this should be turned off as AGK can't know in advance where the object will be drawn.

Definition

SetObjectScreenCulling( objID, mode )

Parameters