KX_VisibilityActuator(SCA_IActuator)

base class — SCA_IActuator

class bge.types.KX_VisibilityActuator(SCA_IActuator)

Visibility Actuator.

visibility

whether the actuator makes its parent object visible or invisible.

Type:boolean
useOcclusion

whether the actuator makes its parent object an occluder or not.

Type:boolean
useRecursion

whether the visibility/occlusion should be propagated to all children of the object.

Type:boolean