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.
Checking the stable version of the documentation...
VisualShaderNodeSample3D
繼承: VisualShaderNode < Resource < RefCounted < Object
被繼承: VisualShaderNodeTexture2DArray, VisualShaderNodeTexture3D
視覺化著色器圖中,對 3D 紋理進行取樣的節點的基礎節點。
說明
虛類,請改用其衍生類。
屬性
|
列舉
enum Source: 🔗
Source SOURCE_TEXTURE = 0
建立內部 uniform,提供一種在節點內賦值的方式。
Source SOURCE_PORT = 1
使用取樣器埠的 uniform 紋理。
Source SOURCE_MAX = 2
代表 Source 列舉的大小。
屬性說明
輸入源的型別。