Class Material#

Material DataSocket

Constructor#

Material(self, value=None, label=None)

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 | Material

Inherited

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

Methods

switch

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="Material", description="")

Create a Material input socket in the Group Input Node

Args:#

  • name: The socket name

  • description: User tip

Returns:#

  • Material: The Material data socket

Go to top - main - nodes - nodes menus

Material#

@classmethod
def Material(cls)

Returns:#

  • socket material

Go to top - main - nodes - nodes menus

Methods#

switch#

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

Args:#

  • switch: Boolean

  • true: Material

Returns:#

  • socket output

Go to top - main - nodes - nodes menus