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.

VisualShaderNodeParticleRandomness

繼承: VisualShaderNode < Resource < RefCounted < Object

用於隨機化粒子值的視覺化著色器節點。

說明

輸出給定型別的偽隨機值的隨機節點,會根據指定的最大最小值生成。

屬性

OpType

op_type

0


列舉

enum OpType: 🔗

OpType OP_TYPE_SCALAR = 0

浮點標量。

OpType OP_TYPE_VECTOR_2D = 1

2D 向量型別。

OpType OP_TYPE_VECTOR_3D = 2

3D向量型別。

OpType OP_TYPE_VECTOR_4D = 3

4D 向量型別。

OpType OP_TYPE_MAX = 4

代表 OpType 列舉的大小。


屬性說明

OpType op_type = 0 🔗

運算元和返回值的型別。