Class Image#

Content#

Properties

Inherited

bl_idname | bnode | is_multi_input | is_output | is_plugged | links | name | node_chain_label | socket_index

Class and static methods

Input

Inherited

get_bl_idname | get_class_name | gives_bsocket | is_socket | is_vector | python_type_to_socket | value_data_type

Methods

switch | texture

Inherited

connected_sockets | get_blender_socket | init_domains | init_socket | plug | reroute | reset_properties | stack | to_output

Class and static methods#

Input#

@classmethod
def Input(cls, value = None, name="Image", description="")

Create an Image input socket in the Group Input Node

Args:#

  • name: The socket name

  • description: User tip

Returns:#

  • Image: The Image data socket

Go to top - main - nodes - nodes menus

Methods#

switch#

def switch(self, switch=None, true=None)

Args:#

  • switch: Boolean

  • true: Image

Returns:#

  • socket output

Go to top - main - nodes - nodes menus

texture#

def texture(self, vector=None, frame=None, extension='REPEAT', interpolation='Linear')

Args:#

  • vector: Vector

  • frame: Integer

  • extension (str): ‘REPEAT’ in [REPEAT, EXTEND, CLIP]

  • interpolation (str): ‘Linear’ in [Linear, Closest, Cubic]

Node Image

Returns:#

  • tuple (’color’, ‘alpha’)

Go to top - main - nodes - nodes menus