CompositorNodeTranslate(CompositorNode)#

base classes — bpy_struct, Node, NodeInternal, CompositorNode

class bpy.types.CompositorNodeTranslate(CompositorNode)#

Offset an image

interpolation#
  • Nearest Nearest – Use nearest interpolation.

  • Bilinear Bilinear – Use bilinear interpolation.

  • Bicubic Bicubic – Use bicubic interpolation.

Type:

enum in [‘Nearest’, ‘Bilinear’, ‘Bicubic’], default ‘Nearest’

use_relative#

Use relative (fraction of input image size) values to define translation

Type:

boolean, default False

wrap_axis#

Wrap image on a specific axis

  • NONE None – No wrapping on X and Y.

  • XAXIS X Axis – Wrap all pixels on the X axis.

  • YAXIS Y Axis – Wrap all pixels on the Y axis.

  • BOTH Both Axes – Wrap all pixels on both axes.

Type:

enum in [‘NONE’, ‘XAXIS’, ‘YAXIS’, ‘BOTH’], default ‘NONE’

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:

NodeInternalSocketTemplate

classmethod output_template(index)#

Output socket template

Parameters:

index (int in [0, inf]) – Index

Returns:

result

Return type:

NodeInternalSocketTemplate

update()#
classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#