csc.update.RegularData¶
- class csc.update.RegularData¶
RegularData class represents a node of a data.
- Variables
value – overridden method by frame, get data value (requires frame if Animation data)
set_value – overridden method by frame, set data value (requires frame if Animation data)
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)actuality
(self)output attribute, that provides actuality status
attribute
(self, d)get attribute by direction
attributes
(self, d)array of all input and output attributes
data_id
(self)full_name
(self)name with all the parent nodes
get_apply_euler_filter
(self)get apply euler filter
has_input
(self, name)check if there is an input with such a name
has_output
(self, name)check if there is an output with such a name
id
(self)get uniqui id
input
(self)input attribute
inputs
(self)array of all the inputes attributes
is_active
(self)check whether it is active for current actualities states (see Additional functionality in csc.update.UpdateEditor)
is_actual
(self)check if this data is set to actual (see Additional functionality in csc.update.UpdateEditor)
is_fictive
(self)whether it is a fictive node (constants, inputs, outputs of a group or external properties)
mode
(self)Check if data is Animation or Static
name
(self)get name
output
(self)output attribute
outputs
(self)array of all the outputs attributes
parent_group
(self)return parent group (where this group node is located)
parent_object
(self)return object of the node.
remove_period
(self)in interpolation, remove period
set_actual
(self, act)set this data as actual (see Additional functionality in csc.update.UpdateEditor)
set_apply_euler_filter
(self, apply_euler_filter)set apply euler filter
set_lerp_mode
(self, mode)can be slerp for Vector3 datas.
set_name
(self, name)rename node
set_period
(self, period)in interpolation, if perion is provided, the data will be "fixed" to provide smoothness
set_value
(*args, **kwargs)Overloaded function.
set_view_state
(self, view_state)for float values - whether it should be displayed in degrees (as an angle)
value
(*args, **kwargs)Overloaded function.
- __init__(*args, **kwargs)¶
- __module__ = 'csc.update'¶
- actuality(self: csc.update.RegularData) csc.update.ActualityAttribute ¶
output attribute, that provides actuality status
- attribute(self: csc.update.RegularData, d: csc.Direction) csc.update.RegularDataAttribute ¶
get attribute by direction
- data_id(self: csc.update.RegularData) csc.model.DataId ¶
- get_apply_euler_filter(self: csc.update.RegularData) bool ¶
get apply euler filter
- input(self: csc.update.RegularData) csc.update.RegularDataAttribute ¶
input attribute
- is_actual(self: csc.update.RegularData) bool ¶
check if this data is set to actual (see Additional functionality in csc.update.UpdateEditor)
- mode(self: csc.update.RegularData) csc.model.DataMode ¶
Check if data is Animation or Static
- output(self: csc.update.RegularData) csc.update.RegularDataAttribute ¶
output attribute
- remove_period(self: csc.update.RegularData) None ¶
in interpolation, remove period
- set_actual(self: csc.update.RegularData, act: bool) None ¶
set this data as actual (see Additional functionality in csc.update.UpdateEditor)
- set_apply_euler_filter(self: csc.update.RegularData, apply_euler_filter: bool) None ¶
set apply euler filter
- set_lerp_mode(self: csc.update.RegularData, mode: csc.model.LerpMode) None ¶
can be slerp for Vector3 datas. Used in interpolation
- set_period(self: csc.update.RegularData, period: float) None ¶
in interpolation, if perion is provided, the data will be “fixed” to provide smoothness
- set_value(*args, **kwargs)¶
Overloaded function.
set_value(self: csc.update.RegularData, v: 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_value(self: csc.update.RegularData, v: 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]]], frame: int) -> None
- set_view_state(self: csc.update.RegularData, view_state: csc.model.DataModifyToView) None ¶
for float values - whether it should be displayed in degrees (as an angle)
- value(*args, **kwargs)¶
Overloaded function.
value(self: csc.update.RegularData) -> 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]]]
value(self: csc.update.RegularData, frame: int) -> 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]]]