Table of Contents

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 PropertyHint

The hint for the exported property.

hintString string

A 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

PropertyHint

HintString

Optional string that can contain additional metadata for the Hint.

public string HintString { get; }

Property Value

string