Home | Trees | Index | Help |
|
---|
Module KX_SceneActuator :: Class KX_SceneActuator |
|
SCA_ILogicBrick
--+ |SCA_IActuator
--+ | KX_SceneActuator
Warning:
Scene actuators that use a scene name will be ignored if at game start, the named scene doesn't exist or is empty
This will generate a warning in the console:
ERROR: GameObject OBName has a SceneActuator
ActuatorName (SetScene) without scene
Method Summary | |
---|---|
string |
Returns the name of the camera to change to. |
string |
Returns the name of the scene to change to/overlay/underlay/remove/suspend/resume. |
boolean |
Returns True if the scene will be restarted. |
Sets the camera to change to. | |
Sets the name of the scene to change to/overlay/underlay/remove/suspend/resume. | |
Set flag to True to restart the scene. | |
Inherited from SCA_ILogicBrick | |
integer |
Gets the execution priority of this logic brick. |
KX_GameObject
|
Gets the game object associated with this logic brick. |
Sets the priority of this logic brick. |
Method Details |
---|
getCamera()Returns the name of the camera to change to.
|
getScene()Returns the name of the scene to change to/overlay/underlay/remove/suspend/resume. Returns an empty string ("") if no scene has been set.
|
getUseRestart()Returns True if the scene will be restarted.
|
setCamera(camera)Sets the camera to change to. Camera can be either aKX_Camera or the name of the camera.
|
setScene(scene)Sets the name of the scene to change to/overlay/underlay/remove/suspend/resume.
|
setUseRestart(flag)Set flag to True to restart the scene.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Feb 1 00:12:33 2007 | http://epydoc.sf.net |