csc.domain.Scene¶
- class csc.domain.Scene¶
Scene class
Root class that represents a scene and its methods for modifying or observing it.
Modify scene by func modify:
- Parameters
name – Name of the modifier
func – Modify functor void(modelEditor, updateEditor, scene)
Modify scene by func modify_update:
- Parameters
name – Name of the modifier
func – Modify functor void(modelEditor, updateEditor, sceneUpdater)
- __init__(self: csc.domain.Scene) None ¶
Methods
__init__
(self)assets_manager
(self)-> AssetsManager
behaviour_viewer
(self)-> csc.model.BehaviourViewer
data_viewer
(self)-> csc.model.DataViewer
error
(self, arg0)get_current_frame
(self[, clamp_animation])-> intget_event_log_or_null
(self)get_layers_selector
(self)-> csc.layers.Selector
info
(self, arg0)layers_viewer
(self)-> csc.layers.Viewer
model_viewer
(self)-> csc.model.ModelViewer
modify
(self, arg0, arg1)-> bool
modify_update
(self, arg0, arg1)-> bool
modify_update_with_session
(self, arg0, arg1)-> bool
modify_with_session
(self, arg0, arg1)-> bool
selector
(self)-> Selector
set_current_frame
(self, frame)set_event_log
(self, message_handler)warning
(self, arg0)- __init__(self: csc.domain.Scene) None ¶
- __module__ = 'csc.domain'¶
- assets_manager(self: csc.domain.Scene) domain::scene::AssetsManager ¶
-> AssetsManager
- behaviour_viewer(self: csc.domain.Scene) csc.model.BehaviourViewer ¶
-> csc.model.BehaviourViewer
- data_viewer(self: csc.domain.Scene) csc.model.DataViewer ¶
-> csc.model.DataViewer
- error(self: csc.domain.Scene, arg0: str) None ¶
- get_current_frame(self: csc.domain.Scene, clamp_animation: bool = True) int ¶
- -> int
- get_event_log_or_null(self: csc.domain.Scene) object ¶
- get_layers_selector(self: csc.domain.Scene) object ¶
-> csc.layers.Selector
- info(self: csc.domain.Scene, arg0: str) None ¶
- layers_viewer(self: csc.domain.Scene) csc.layers.Viewer ¶
-> csc.layers.Viewer
- model_viewer(self: csc.domain.Scene) csc.model.ModelViewer ¶
-> csc.model.ModelViewer
- modify(self: csc.domain.Scene, arg0: str, arg1: function) bool ¶
-> bool
- modify_update(self: csc.domain.Scene, arg0: str, arg1: function) bool ¶
-> bool
- modify_update_with_session(self: csc.domain.Scene, arg0: str, arg1: function) bool ¶
-> bool
- modify_with_session(self: csc.domain.Scene, arg0: str, arg1: function) bool ¶
-> bool
- selector(self: csc.domain.Scene) object ¶
-> Selector
- set_current_frame(self: csc.domain.Scene, frame: int) None ¶
- set_event_log(self: csc.domain.Scene, message_handler: csc.domain.IMessageHandler) None ¶
- warning(self: csc.domain.Scene, arg0: str) None ¶