blender/source/gameengine/PyDoc/KX_VisibilityActuator.py
Benoit Bolsee 0b8661ab4d BGE: Occlusion culling and other performance improvements.
Added occlusion culling capability in the BGE. 
More info: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.49/Game_Engine#BGE_Scenegraph_improvement
MSVC, scons, cmake, Makefile updated.

Other minor performance improvements:
- The rasterizer was computing the openGL model matrix of the objects too many times
- DBVT view frustrum culling was not properly culling behind the near plane:
  Large objects behind the camera were sent to the GPU
- Remove all references to mesh split/join feature as it is not yet functional
2009-04-13 20:08:33 +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.
"""