Module KX_VisibilityActuator :: Class KX_VisibilityActuator

Class KX_VisibilityActuator

SCA_ILogicBrick.SCA_ILogicBrick --+    
                                  |    
        SCA_IActuator.SCA_IActuator --+
                                      |
                                     KX_VisibilityActuator

Visibility Actuator.

Instance Methods
 
set(visible)
DEPRECATED: Use the visibility property instead.
integer
getExecutePriority()
Gets the execution priority of this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
KX_GameObject
getOwner()
Gets the game object associated with this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
 
setExecutePriority(priority)
Sets the priority of this logic brick. (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
Instance Variables
int executePriority
This determines the order controllers are evaluated, and actuators are activated (lower priority is executed first). (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
boolean occlusion
whether the actuator makes its parent object an occluder or not
KX_GameObject or None in exceptional cases. owner
The game object this logic brick is attached to (read only). (Inherited from SCA_ILogicBrick.SCA_ILogicBrick)
boolean recursion
whether the visibility/occlusion should be propagated to all children of the object
boolean visibility
whether the actuator makes its parent object visible or invisible
Method Details

set(visible)

 

DEPRECATED: Use the visibility property instead. Sets whether the actuator makes its parent object visible or invisible.

Parameters:
  • visible - - True: Makes its parent visible.
    • False: Makes its parent invisible.