2004-06-02 12:43:27 +00:00
|
|
|
# $Id$
|
|
|
|
# Documentation for KX_VisibilityActuator
|
|
|
|
from SCA_IActuator import *
|
|
|
|
|
|
|
|
class KX_VisibilityActuator(SCA_IActuator):
|
|
|
|
"""
|
|
|
|
Visibility Actuator.
|
2009-04-20 15:06:46 +00:00
|
|
|
@ivar visibility: whether the actuator makes its parent object visible or invisible
|
|
|
|
@type visibility: boolean
|
|
|
|
@ivar occlusion: whether the actuator makes its parent object an occluder or not
|
|
|
|
@type occlusion: boolean
|
|
|
|
@ivar recursion: whether the visibility/occlusion should be propagated to all children of the object
|
|
|
|
@type recursion: boolean
|
2004-06-02 12:43:27 +00:00
|
|
|
"""
|
|
|
|
def set(visible):
|
|
|
|
"""
|
2009-04-20 15:06:46 +00:00
|
|
|
DEPRECATED: Use the visibility property instead.
|
2004-06-02 12:43:27 +00:00
|
|
|
Sets whether the actuator makes its parent object visible or invisible.
|
2009-04-20 15:06:46 +00:00
|
|
|
|
2004-06-02 12:43:27 +00:00
|
|
|
@param visible: - True: Makes its parent visible.
|
|
|
|
- False: Makes its parent invisible.
|
|
|
|
"""
|