Module KX_VisibilityActuator :: Class KX_VisibilityActuator

Class KX_VisibilityActuator

source code

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

Visibility Actuator.

Instance Methods
 
set(visible)
Sets whether the actuator makes its parent object visible or invisible.
source code

Inherited from SCA_ILogicBrick.SCA_ILogicBrick: getExecutePriority, getOwner, setExecutePriority

Method Details

set(visible)

source code 
Sets whether the actuator makes its parent object visible or invisible.
Parameters:
  • visible - - True: Makes its parent visible.
    • False: Makes its parent invisible.