Skip to content

ResourceField ​

Inherits: ConfigField < HBoxContainer

A property that holds a resource (a gradient, a curve, a texture, a sky driver) in a resource picker: pick one from the project, make a new one or clear it. The picker is the one of the Godot editor, so it only exists in the editor; outside the editor the field shows the name of the resource. Set the Base type (Gradient, Curve, Texture2D, SkyDriver) in the inspector.

Properties ​

Stringbase_type"Resource"

Variables ​

EditorResourcePickerpicker

Property descriptions ​

String base_type = "Resource" ​

The class of resource the picker offers (a built-in class or a script class)

Variable descriptions ​

EditorResourcePicker picker ​

No description yet.