API

Class NodeMaterialConnectionPointCustomObject<T>

Defines a connection point to be used for points with a custom object type

Type Parameters

Hierarchy (View Summary)

Index
_blockType: new (...args: any[]) => T
acceptedConnectionPointTypes: NodeMaterialBlockConnectionPointTypes[] = []

Gets or sets the additional types supported by this connection point

define: string

Gets or sets a string indicating that this uniform must be defined under a #ifdef

displayName: string

Gets or sets the connection point name

excludedConnectionPointTypes: NodeMaterialBlockConnectionPointTypes[] = []

Gets or sets the additional types excluded by this connection point

exposedPortPosition: number = -1

Gets or sets number indicating the position that the port is exposed to on a frame

isExposedOnFrame: boolean = false

Gets or sets a boolean indicating that this connection point is exposed on a frame

isOptional: boolean

Gets or sets a boolean indicating that this connection point can be omitted

name: string

Gets or sets the connection point name

needDualDirectionValidation: boolean = false

Indicates that this connection point needs dual validation before being connected to another point

onConnectionObservable: Observable<NodeMaterialConnectionPoint> = ...

Observable triggered when this point is connected

onDisconnectionObservable: Observable<NodeMaterialConnectionPoint> = ...

Observable triggered when this point is disconnected

onTypeChangedObservable: Observable<NodeMaterialBlockConnectionPointTypes> = ...

Observable triggered when the type of the connection point is changed