Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

VisualShaderNodeRemap

繼承: VisualShaderNode < Resource < RefCounted < Object

remap 函式的視覺化著色器節點。

說明

Remap 函式將輸入範圍變換到輸出範圍。例如你可以將 0..1 裡的值變到 -2..2 裡。詳見 @GlobalScope.remap()

屬性

OpType

op_type

0


列舉

enum OpType: 🔗

OpType OP_TYPE_SCALAR = 0

浮點數標量型別。

OpType OP_TYPE_VECTOR_2D = 1

2D 向量型別。

OpType OP_TYPE_VECTOR_2D_SCALAR = 2

The value port uses a 2D vector type, while the input min, input max, output min, and output max ports use a floating-point scalar type.

OpType OP_TYPE_VECTOR_3D = 3

3D向量型別。

OpType OP_TYPE_VECTOR_3D_SCALAR = 4

The value port uses a 3D vector type, while the input min, input max, output min, and output max ports use a floating-point scalar type.

OpType OP_TYPE_VECTOR_4D = 5

4D 向量型別。

OpType OP_TYPE_VECTOR_4D_SCALAR = 6

The value port uses a 4D vector type, while the input min, input max, output min, and output max ports use a floating-point scalar type.

OpType OP_TYPE_MAX = 7

代表 OpType 列舉的大小。


屬性說明

OpType op_type = 0 🔗

There is currently no description for this property. Please help us by contributing one!