nodes.shader.manual

manual

Classes

Name Description
Attribute Retrieve attributes attached to objects or geometry
MenuSwitch Node builder for the Menu Switch node (Shader tree)

Attribute

Attribute(attribute_type='GEOMETRY', attribute_name='')

Retrieve attributes attached to objects or geometry

Attributes

Name Description
attribute_name
attribute_type
node
o

Methods

Name Description
geometry Create Attribute with operation ‘Geometry’.
instancer Create Attribute with operation ‘Instancer’.
object Create Attribute with operation ‘Object’.
view_layer Create Attribute with operation ‘View Layer’.
geometry
geometry(attribute_name='')

Create Attribute with operation ‘Geometry’.

instancer
instancer(attribute_name='')

Create Attribute with operation ‘Instancer’.

object
object(attribute_name='')

Create Attribute with operation ‘Object’.

view_layer
view_layer(attribute_name='')

Create Attribute with operation ‘View Layer’.

MenuSwitch

MenuSwitch(*args, menu=None, data_type='FLOAT', **kwargs)

Node builder for the Menu Switch node (Shader tree)

Attributes

Name Description
boolean
bundle
closure
color
data_type Input socket: Data Type
float
i
inputs
integer
menu
name
node
o
outputs
shader
tree
type
vector

Functions

Name Description
material
tree

material

material(
    name='New Material',
    *,
    collapse=False,
    arrange='sugiyama',
    fake_user=False,
)

tree

tree(
    name='Shader Nodes',
    *,
    collapse=False,
    arrange='sugiyama',
    fake_user=False,
)