csc.model.DataEditor

class csc.model.DataEditor

DataEditor class

This class has the possibility to edit scene data and their properties.

Variables
  • add_data – overridden method by csc.model.ObjectId, string, DataMode, Data.Value, csc.model.DataId -> Data

  • add_setting – overridden method by string, Setting.Value || csc.model.ObjectId, string, Setting.Value, csc.model.SettingId -> Setting

  • add_constant_data – overridden method by string, Data.Value || string, Data.Value, csc.model.DataId -> Data

  • add_constant_setting – overridden method by string, Setting.Value || string, Setting.Value, csc.model.SettingId -> Setting

  • set_data_value – overridden method by csc.model.DataId&, Data.Value || csc.model.DataId, int{}, Data.Value || csc.model.DataId, int, Data.Value

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

add_constant_data(*args, **kwargs)

Overloaded function.

add_constant_setting(*args, **kwargs)

Overloaded function.

add_data(*args, **kwargs)

Overloaded function.

add_setting(*args, **kwargs)

Overloaded function.

clusters_editor(self)

-> ClusterEditor

copy_data(self, from_to)

delete_data(self, id)

delete_setting(self, id)

set_animation_size(self, size)

set_data_enum_name(self, id, enum_name)

set_data_only_key(self, id, only_key)

id : csc.model.DataId | only_key : bool

set_data_value(*args, **kwargs)

Overloaded function.

set_data_view_state(self, id, view_state)

id : csc.model.DataId | viewState : DataModifyToView

set_setting_value(*args, **kwargs)

Overloaded function.

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

Overloaded function.

  1. add_constant_data(self: csc.model.DataEditor, arg0: str, arg1: Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]]) -> csc.model.Data

  2. add_constant_data(self: csc.model.DataEditor, name: str, value: Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]], id: csc.model.DataId) -> csc.model.Data

add_constant_setting(*args, **kwargs)

Overloaded function.

  1. add_constant_setting(self: csc.model.DataEditor, arg0: str, arg1: Union[bool, int]) -> csc.model.Setting

  2. add_constant_setting(self: csc.model.DataEditor, name: str, value: Union[bool, int], id: csc.model.SettingId) -> csc.model.Setting

add_data(*args, **kwargs)

Overloaded function.

  1. add_data(self: csc.model.DataEditor, object_id: csc.model.ObjectId, name: str, mode: csc.model.DataMode, value: Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]]) -> csc.model.Data

    -> Data

  2. add_data(self: csc.model.DataEditor, object_id: csc.model.ObjectId, name: str, mode: csc.model.DataMode, value: Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]], id: csc.model.DataId) -> csc.model.Data

    -> Data

add_setting(*args, **kwargs)

Overloaded function.

  1. add_setting(self: csc.model.DataEditor, object_id: csc.model.ObjectId, name: str, value: Union[bool, int], mode: csc.model.SettingMode = <SettingMode.Static: 0>) -> csc.model.Setting

    -> Setting

  2. add_setting(self: csc.model.DataEditor, object_id: csc.model.ObjectId, name: str, value: Union[bool, int], mode: csc.model.SettingMode, id: csc.model.SettingId) -> csc.model.Setting

    -> Setting

clusters_editor(self: csc.model.DataEditor) object

-> ClusterEditor

copy_data(self: csc.model.DataEditor, from_to: List[Tuple[csc.model.DataId, csc.model.DataId]]) None
delete_data(self: csc.model.DataEditor, id: csc.model.DataId) None
delete_setting(self: csc.model.DataEditor, id: csc.model.SettingId) None
set_animation_size(self: csc.model.DataEditor, size: int) None
set_data_enum_name(self: csc.model.DataEditor, id: csc.model.DataId, enum_name: str) None
set_data_only_key(self: csc.model.DataEditor, id: csc.model.DataId, only_key: bool) None

id : csc.model.DataId | only_key : bool

set_data_value(*args, **kwargs)

Overloaded function.

  1. set_data_value(self: csc.model.DataEditor, id: csc.model.DataId, value: Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]]) -> None

  2. set_data_value(self: csc.model.DataEditor, id: csc.model.DataId, frames: Set[int], value: Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]]) -> None

  3. set_data_value(self: csc.model.DataEditor, id: csc.model.DataId, frame: int, value: Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]]) -> None

set_data_view_state(self: csc.model.DataEditor, id: csc.model.DataId, view_state: csc.model.DataModifyToView) None

id : csc.model.DataId | viewState : DataModifyToView

set_setting_value(*args, **kwargs)

Overloaded function.

  1. set_setting_value(self: csc.model.DataEditor, id: csc.model.SettingId, value: Union[bool, int]) -> None

  2. set_setting_value(self: csc.model.DataEditor, id: csc.model.SettingId, value: Union[bool, int], frame: int) -> None