1 Star 1 Fork 0

天天编程/godot-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
class_visualscriptbasictypeconstant.rst 2.28 KB
一键复制 编辑 原始数据 按行查看 历史
github_url: hide

VisualScriptBasicTypeConstant

Inherits: :ref:`VisualScriptNode<class_VisualScriptNode>` < :ref:`Resource<class_Resource>` < :ref:`Reference<class_Reference>` < :ref:`Object<class_Object>`

A Visual Script node representing a constant from the base types.

Description

A Visual Script node representing a constant from base types, such as :ref:`Vector3.AXIS_X<class_Vector3_constant_AXIS_X>`.

Properties

:ref:`Variant.Type<enum_@GlobalScope_Variant.Type>` :ref:`basic_type<class_VisualScriptBasicTypeConstant_property_basic_type>` 0
:ref:`StringName<class_StringName>` :ref:`constant<class_VisualScriptBasicTypeConstant_property_constant>`  

Property Descriptions

Default 0
Setter set_basic_type(value)
Getter get_basic_type()

The type to get the constant from.


Setter set_basic_type_constant(value)
Getter get_basic_type_constant()

The name of the constant to return.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ttcode-net/godot-docs.git
git@gitee.com:ttcode-net/godot-docs.git
ttcode-net
godot-docs
godot-docs
master

搜索帮助