blender/source/gameengine/PyDoc/KX_VisibilityActuator.py
Brecht Van Lommel 874c29cea8 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD
Notes:
* blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.
2009-04-20 15:06:46 +00:00

23 lines
766 B
Python

# $Id$
# Documentation for KX_VisibilityActuator
from SCA_IActuator import *
class KX_VisibilityActuator(SCA_IActuator):
"""
Visibility Actuator.
@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
"""
def set(visible):
"""
DEPRECATED: Use the visibility property instead.
Sets whether the actuator makes its parent object visible or invisible.
@param visible: - True: Makes its parent visible.
- False: Makes its parent invisible.
"""