mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Doc string for shading_engine_assignments
This commit is contained in:
parent
10fdeb5243
commit
90113168cf
1 changed files with 8 additions and 0 deletions
|
|
@ -79,6 +79,14 @@ def get_nodes_by_id(standin):
|
|||
|
||||
|
||||
def shading_engine_assignments(shading_engine, attribute, nodes, assignments):
|
||||
"""Full assignments with shader or disp_map.
|
||||
|
||||
Args:
|
||||
shading_engine (string): Shading engine for material.
|
||||
attribute (string): "surfaceShader" or "displacementShader"
|
||||
nodes: (list): Nodes paths relative to aiStandIn.
|
||||
assignments (dict): Assignments by nodes.
|
||||
"""
|
||||
shader_inputs = cmds.listConnections(
|
||||
shading_engine + "." + attribute, source=True
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue