Struct VisualShader

A custom shader program with a visual editor.

struct VisualShader ;

This class allows you to define a custom shader program that can be used for various materials to render objects. The visual shader editor creates the shader.

Properties

NameTypeDescription
graphOffset[get, set] Vector2

Methods

NameDescription
_inputTypeChanged
_queueUpdate
_updateShader
addNode
canConnectNodes
connectNodes
connectNodesForced
disconnectNodes
getGraphOffset
getNode
getNodeConnections
getNodeList
getNodePosition
getValidNodeId
isNodeConnection
removeNode
setGraphOffset
setMode
setNodePosition

Enums

NameDescription
Constants
Type