Changeset View
Changeset View
Standalone View
Standalone View
doc/python_api/rst/bge_types/bge.types.KX_Scene.rst
| Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | .. attribute:: post_draw | ||||
| A list of callables to be run after the render step. | A list of callables to be run after the render step. | ||||
| :type: list | :type: list | ||||
| .. attribute:: gravity | .. attribute:: gravity | ||||
| The scene gravity using the world x, y and z axis. | The scene gravity using the world x, y and z axis. | ||||
| :type: list [fx, fy, fz] | :type: Vector((gx, gy, gz)) | ||||
| .. method:: addObject(object, other, time=0) | .. method:: addObject(object, other, time=0) | ||||
| Adds an object to the scene like the Add Object Actuator would. | Adds an object to the scene like the Add Object Actuator would. | ||||
| :arg object: The object to add | :arg object: The object to add | ||||
| :type object: :class:`KX_GameObject` or string | :type object: :class:`KX_GameObject` or string | ||||
| :arg other: The object's center to use when adding the object | :arg other: The object's center to use when adding the object | ||||
| Show All 40 Lines | |||||