Struct VisualScriptClassConstant
Gets a constant from a given class.
struct VisualScriptClassConstant
;
This node returns a constant from a given class, such as constant TYPE_INT. See the given class' documentation for available constants.
Input Ports:
none
Output Ports:
- Data (variant): value
Properties
| Name | Type | Description |
|---|---|---|
baseType[get, set]
|
String | The constant's parent class. |
constant[get, set]
|
String | The constant to return. See the given class for its available constants. |
Methods
| Name | Description |
|---|---|
getBaseType
|
|
getClassConstant
|
|
setBaseType
|
|
setClassConstant
|