Class ExportAttribute
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Exports the annotated member as a property of the Godot Object.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class ExportAttribute : Attribute
- Inheritance
-
ExportAttribute
- Inherited Members
Constructors
ExportAttribute(PropertyHint, string)
Constructs a new ExportAttribute Instance.
public ExportAttribute(PropertyHint hint = PropertyHint.None, string hintString = "")
Parameters
hint
PropertyHintThe hint for the exported property.
hintString
stringA string that may contain additional metadata for the hint.
Properties
Hint
Optional hint that determines how the property should be handled by the editor.
public PropertyHint Hint { get; }
Property Value
HintString
Optional string that can contain additional metadata for the Hint.
public string HintString { get; }