csc.update.ConstantDatas

class csc.update.ConstantDatas

ConstantDatas represents a node of constant datas. It is present in any place.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

add_data(self, name, value)

value: Data.Value

attributes(self, d)

array of all input and output attributes

full_name(self)

name with all the parent nodes

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, name)

shortcut if node has only one 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_fictive(self)

whether it is a fictive node (constants, inputs, outputs of a group or external properties)

name(self)

get name

output(self, name)

shortcut if node has only one 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.

set_name(self, name)

rename node

__init__(*args, **kwargs)
__module__ = 'csc.update'
add_data(self: csc.update.ConstantDatas, 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]]]) None

value: Data.Value