VisualShaderNodeIntConstant

继承: VisualShaderNodeConstant < VisualShaderNode < Resource < RefCounted < Object

标量整数常量,在可视化着色器图中使用。

描述

翻译为着色器语言中的 int

属性

int

constant

0


属性说明

int constant = 0

  • void set_constant ( int value )

  • int get_constant ( )

整数常量,代表该节点的状态。

Previous Next


© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7.

Built with Sphinx using a theme provided by Read the Docs.