Capítulo 753 de 859

Chapter 753: NodeFunctionInput

Core Idea

Describes the input of a NodeFunction.

Key Concepts

  • count : number: If the input is an Array, count will be the length.
  • isConst : boolean: Whether the input uses a const qualifier or not (only relevant for GLSL).
  • name : string: The input name.
  • qualifier : 'in' | 'out' | 'inout': The parameter qualifier (only relevant for GLSL).
  • type : string: The input type.

Reference Tables

Constructor

Signature
`new NodeFunctionInput( type : string, name : string, count : number, qualifier : 'in'

Properties

PropertyDescription
.count : numberIf the input is an Array, count will be the length.
.isConst : booleanWhether the input uses a const qualifier or not (only relevant for GLSL).
.name : stringThe input name.
`.qualifier : 'in''out'
.type : stringThe input type.

Key Takeaways

  1. Most relevant properties: count, isConst, name, qualifier.

Connects To