Attention
You are reading the latest
(unstable) version of this documentation, which may document features not available
or compatible with Godot 3.x.
Checking the stable version of the documentation...
Work in progress
Godot documentation is being updated to reflect the latest changes in version
4.0
. Some documentation pages may
still state outdated information. This banner will tell you if you're reading one of such pages.
The contents of this page are up to date. If you can still find outdated information, please open an issue.
VisualShaderNodeVectorBase¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
Inherited By: VisualShaderNodeFaceForward, VisualShaderNodeVectorCompose, VisualShaderNodeVectorDecompose, VisualShaderNodeVectorDistance, VisualShaderNodeVectorFunc, VisualShaderNodeVectorLen, VisualShaderNodeVectorOp, VisualShaderNodeVectorRefract
A base type for the nodes that perform vector operations within the visual shader graph.
Description¶
This is an abstract class. See the derived types for descriptions of the possible operations.
Properties¶
|
Enumerations¶
enum OpType:
OpType OP_TYPE_VECTOR_2D = 0
A 2D vector type.
OpType OP_TYPE_VECTOR_3D = 1
A 3D vector type.
OpType OP_TYPE_VECTOR_4D = 2
A 4D vector type.
OpType OP_TYPE_MAX = 3
Represents the size of the OpType enum.
Property Descriptions¶
OpType op_type = 1
A vector type that this operation is performed on.