ShaderNodeMath(ShaderNode)¶
base classes — bpy_struct
, Node
, NodeInternal
, ShaderNode
-
class
bpy.types.
ShaderNodeMath
(ShaderNode)¶ -
operation
¶ Type: enum in [‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘DIVIDE’, ‘SINE’, ‘COSINE’, ‘TANGENT’, ‘ARCSINE’, ‘ARCCOSINE’, ‘ARCTANGENT’, ‘POWER’, ‘LOGARITHM’, ‘MINIMUM’, ‘MAXIMUM’, ‘ROUND’, ‘LESS_THAN’, ‘GREATER_THAN’, ‘MODULO’, ‘ABSOLUTE’], default ‘ADD’
-
use_clamp
¶ Clamp result of the node to 0..1 range
Type: boolean, default False
-
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
-
Inherited Properties
Inherited Functions