VisualScriptClassConstant
Inherits: VisualScriptNode < Resource < Reference < Object
从给定类中获取常量。
描述
该节点从指定类中返回常量,例如@GlobalScope.TYPE_INT。关于可用的常量,请参阅指定类的文档。
Input Ports:
none
Output Ports:
- Data (variant):
value
属性
| ||
|
属性说明
- String base_type
Default |
|
Setter | set_base_type(value) |
Getter | get_base_type() |
常量的父类。
- String constant
Default |
|
Setter | set_class_constant(value) |
Getter | get_class_constant() |
要返回的常量。可用的常量参阅给定的类。