godot / 3.4 / classes / class_visualscripttypecast.html

VisualScriptTypeCast

Inherits: VisualScriptNode < Resource < Reference < Object

A Visual Script node that casts the given value to another type.

Description

VisualScriptTypeCast will perform a type conversion to an Object-derived type.

Properties

Property Descriptions

String base_script

Default

""

Setter

set_base_script(value)

Getter

get_base_script()

The target script class to be converted to. If none, only the base_type will be used.

String base_type

Default

"Object"

Setter

set_base_type(value)

Getter

get_base_type()

The target type to be converted to.

© 2014–2022 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.4/classes/class_visualscripttypecast.html