EventDispatcherNodePropertyNode

ParameterNode

Special version of PropertyNode which is used for parameters.

Constructor

new ParameterNode( nodeType : string, name : string )

Constructs a new parameter node.

nodeType

The type of the node.

name

The name of the parameter in the shader.

Default is null.

Properties

.isParameterNode : boolean (readonly)

This flag can be used for type testing.

Default is true.

Methods

.getMemberType( builder : NodeBuilder, name : string ) : string

Gets the type of a member variable in the parameter node.

builder

The node builder.

name

The name of the member variable.

Overrides: PropertyNode#getMemberType

Source

src/nodes/core/ParameterNode.js