Welcome to mirror list, hosted at ThFree Co, Russian Federation.

KX_VisibilityActuator.py « PyDoc « gameengine « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 36f25b2423ca13a06e4b9292d70e8555f33a82a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $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.
		"""