NodeMaterialConnectionPointCustomObject<T>

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

Type parameters

Hierarchy

Index

Constructors

constructor

Find examples in Playground

Properties

acceptedConnectionPointTypes

Find examples in Playground
acceptedConnectionPointTypes: NodeMaterialBlockConnectionPointTypes[]

Gets or sets the additional types supported by this connection point

define

Find examples in Playground
define: string

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

displayName

Find examples in Playground
displayName: string

Gets or sets the connection point name

excludedConnectionPointTypes

Find examples in Playground
excludedConnectionPointTypes: NodeMaterialBlockConnectionPointTypes[]

Gets or sets the additional types excluded by this connection point

isOptional

Find examples in Playground
isOptional: boolean

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

name

Find examples in Playground
name: string

Gets or sets the connection point name

needDualDirectionValidation

Find examples in Playground
needDualDirectionValidation: boolean

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

onConnectionObservable

Find examples in Playground
onConnectionObservable: Observable<NodeMaterialConnectionPoint>

Observable triggered when this point is connected

Accessors

associatedVariableName

Find examples in Playground
  • get associatedVariableName(): string
  • set associatedVariableName(value: string): any

connectInputBlock

Find examples in Playground

connectedBlocks

Find examples in Playground

connectedPoint

Find examples in Playground

direction

Find examples in Playground

endpoints

Find examples in Playground

hasEndpoints

Find examples in Playground
  • get hasEndpoints(): boolean

innerType

Find examples in Playground

isConnected

Find examples in Playground
  • get isConnected(): boolean

isConnectedInFragmentShader

Find examples in Playground
  • get isConnectedInFragmentShader(): boolean

isConnectedInVertexShader

Find examples in Playground
  • get isConnectedInVertexShader(): boolean

isConnectedToInputBlock

Find examples in Playground
  • get isConnectedToInputBlock(): boolean

ownerBlock

Find examples in Playground

sourceBlock

Find examples in Playground

target

Find examples in Playground

type

Find examples in Playground

Methods

canConnectTo

Find examples in Playground

checkCompatibilityState

Find examples in Playground

connectTo

Find examples in Playground

createCustomInputBlock

Find examples in Playground
  • Creates a block suitable to be used as an input for this input point. If null is returned, a block based on the point type will be created.

    Returns Nullable<[NodeMaterialBlock, string]>

    The returned string parameter is the name of the output point of NodeMaterialBlock (first parameter of the returned array) that can be connected to the input

disconnectFrom

Find examples in Playground

dispose

Find examples in Playground
  • dispose(): void

getClassName

Find examples in Playground
  • getClassName(): string

serialize

Find examples in Playground
  • serialize(isInput?: boolean): any
  • Serializes this point in a JSON representation

    Parameters

    • Optional isInput: boolean

      defines if the connection point is an input (default is true)

    Returns any

    the serialized point object

Generated using TypeDoc