CompositorNodeRelativeToPixel(CompositorNode)
base classes — bpy_struct, Node, NodeInternal, CompositorNode
- class bpy.types.CompositorNodeRelativeToPixel(CompositorNode)
Converts values that are relative to the image size to be in terms of pixels
- data_type
The type of data
FLOATFloat – Float value.VECTORVector – Vector value.
- Type:
enum in [
'FLOAT','VECTOR'], default"'FLOAT'"
- reference_dimension
Defines the dimension of the image that the relative value is in reference to
PER_DIMENSIONPer Dimension – The value is relative to each of the dimensions of the image independently.XX – The value is relative to the X dimension of the image.YY – The value is relative to the Y dimension of the image.GreaterGreater – The value is relative to the greater dimension of the image.SmallerSmaller – The value is relative to the smaller dimension of the image.DiagonalDiagonal – The value is relative to the diagonal of the image.
- Type:
enum in [
'PER_DIMENSION','X','Y','Greater','Smaller','Diagonal'], default"'X'"
- classmethod is_registered_node_type()
True if a registered node type
- Returns:
Result
- Return type:
boolean
- classmethod input_template(index)
Input socket template
- Parameters:
index (int in [0, inf]) – Index
- Returns:
result
- Return type:
- classmethod output_template(index)
Output socket template
- Parameters:
index (int in [0, inf]) – Index
- Returns:
result
- Return type:
- update()
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
bpy.types.Structsubclass
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type
Inherited Properties
Inherited Functions
|