csc.model.BehaviourEditor

class csc.model.BehaviourEditor

BehaviourEditor class

This class allows editing of scene behaviours and their properties.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

add_behaviour(*args, **kwargs)

Overloaded function.

add_behaviour_data_to_range(self, ...)

behaviourId : BehaviourId | name : string | dataId : csc.model.DataId

add_behaviour_model_object_to_range(self, ...)

behaviourId : BehaviourId | name : string | moId : csc.model.ObjectId

add_behaviour_reference_to_range(self, ...)

behaviourId : BehaviourId | name : string | behId : BehaviourId

add_behaviour_setting_to_range(self, ...)

behaviourId : BehaviourId | name : string | settingId : csc.model.SettingId

delete_behaviour(self, behaviour_id)

behaviour_id : BehaviourId

delete_behaviours(self, objects_id)

objectsId : {csc.model.ObjectId}

erase_behaviour_data_from_range(self, ...)

behaviourId : BehaviourId | name : string | dataId : csc.model.DataId

erase_behaviour_model_object_from_range(...)

behaviourId : BehaviourId | name : string | moId : csc.model.ObjectId

erase_behaviour_reference_from_range(self, ...)

behaviourId : BehaviourId | name : string | behId : BehaviourId

erase_behaviour_setting_from_range(self, ...)

behaviourId : BehaviourId | name : string | settingId : csc.model.SettingId

get_viewer(self)

hide_behaviour(self, behaviour_id[, hidden])

behaviourId : BehaviourId | hidden : bool(true) -> bool

set_behaviour_asset(self, behaviour_id, ...)

behaviourId : BehaviourId | name : string | assetId : AssetId

set_behaviour_data(self, behaviour_id, name, ...)

behaviourId : BehaviourId | name : string | dataId : csc.model.DataId

set_behaviour_data_to_range(self, ...)

behaviourId : BehaviourId | name : string | insertedIds : csc.model.DataId

set_behaviour_field_value(self, ...)

behaviourId : BehaviourId | name : string | name_value : string

set_behaviour_model_object(self, ...)

behaviourId : BehaviourId | name : string | moId : csc.model.ObjectId

set_behaviour_model_objects_to_range(self, ...)

behaviourId : BehaviourId | name : string | insertedIds : csc.model.ObjectId[]

set_behaviour_reference(self, behaviour_id, ...)

behaviourId : BehaviourId | name : string | behId : BehaviourId

set_behaviour_references_to_range(self, ...)

behaviourId : BehaviourId | name : string | insertedIds : csc.model.BehaviourId[]

set_behaviour_setting(self, behaviour_id, ...)

behaviourId : BehaviourId | name : string | settingId : csc.model.SettingId

set_behaviour_settings_to_range(self, ...)

behaviourId : BehaviourId | name : string | insertedIds : csc.model.SettingId[]

set_behaviour_string(self, behaviour_id, ...)

behaviourId : BehaviourId | name : string | str : string

__init__(*args, **kwargs)
__module__ = 'csc.model'
add_behaviour(*args, **kwargs)

Overloaded function.

  1. add_behaviour(self: csc.model.BehaviourEditor, arg0: csc.model.ObjectId, arg1: str) -> csc.Guid

    object_id : csc.model.ObjectId | behaviour_type : string | -> BehaviourId

  2. add_behaviour(self: csc.model.BehaviourEditor, object_id: csc.model.ObjectId, behaviour_type: str, behaviour_id: csc.Guid) -> csc.Guid

    object_id : csc.model.ObjectId | behaviour_type : string | behaviour_id : BehaviourId | -> BehaviourId

add_behaviour_data_to_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, data_id: csc.model.DataId) bool

behaviourId : BehaviourId | name : string | dataId : csc.model.DataId

add_behaviour_model_object_to_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, mo_id: csc.model.ObjectId) bool

behaviourId : BehaviourId | name : string | moId : csc.model.ObjectId

add_behaviour_reference_to_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, beh_id: csc.Guid) bool

behaviourId : BehaviourId | name : string | behId : BehaviourId

add_behaviour_setting_to_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, setting_id: csc.model.SettingId) bool

behaviourId : BehaviourId | name : string | settingId : csc.model.SettingId

delete_behaviour(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid) None

behaviour_id : BehaviourId

delete_behaviours(self: csc.model.BehaviourEditor, objects_id: Set[csc.model.ObjectId]) None

objectsId : {csc.model.ObjectId}

erase_behaviour_data_from_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, data_id: csc.model.DataId) bool

behaviourId : BehaviourId | name : string | dataId : csc.model.DataId

erase_behaviour_model_object_from_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, mo_id: csc.model.ObjectId) bool

behaviourId : BehaviourId | name : string | moId : csc.model.ObjectId

erase_behaviour_reference_from_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, beh_id: csc.Guid) bool

behaviourId : BehaviourId | name : string | behId : BehaviourId

erase_behaviour_setting_from_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, setting_id: csc.model.SettingId) bool

behaviourId : BehaviourId | name : string | settingId : csc.model.SettingId

get_viewer(self: csc.model.BehaviourEditor) object
hide_behaviour(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, hidden: bool = True) bool

behaviourId : BehaviourId | hidden : bool(true) -> bool

set_behaviour_asset(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, asset_id: csc.Guid) bool

behaviourId : BehaviourId | name : string | assetId : AssetId

set_behaviour_data(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, data_id: csc.model.DataId) bool

behaviourId : BehaviourId | name : string | dataId : csc.model.DataId

set_behaviour_data_to_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, inserted_ids: List[csc.model.DataId]) bool

behaviourId : BehaviourId | name : string | insertedIds : csc.model.DataId

set_behaviour_field_value(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, name_value: str) bool

behaviourId : BehaviourId | name : string | name_value : string

set_behaviour_model_object(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, mo_id: csc.model.ObjectId) bool

behaviourId : BehaviourId | name : string | moId : csc.model.ObjectId

set_behaviour_model_objects_to_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, inserted_ids: List[csc.model.ObjectId]) bool

behaviourId : BehaviourId | name : string | insertedIds : csc.model.ObjectId[]

set_behaviour_reference(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, beh_id: csc.Guid) bool

behaviourId : BehaviourId | name : string | behId : BehaviourId

set_behaviour_references_to_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, inserted_ids: List[csc.Guid]) bool

behaviourId : BehaviourId | name : string | insertedIds : csc.model.BehaviourId[]

set_behaviour_setting(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, setting_id: csc.model.SettingId) bool

behaviourId : BehaviourId | name : string | settingId : csc.model.SettingId

set_behaviour_settings_to_range(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, inserted_ids: List[csc.model.SettingId]) bool

behaviourId : BehaviourId | name : string | insertedIds : csc.model.SettingId[]

set_behaviour_string(self: csc.model.BehaviourEditor, behaviour_id: csc.Guid, name: str, str: str) bool

behaviourId : BehaviourId | name : string | str : string