ExporterMetaField
class
ExporterMetaField
extends
MetaField
name
:
string
options
:
unknown
Represents the exporter configuration.
Constructors
constructor
Parameters
Overwrites
MetaField.constructor
Properties
description
public
description
:
string
=
''
MetaField.description
exporters
readonly
public
exporters
:
ExporterClass
[]
initial
The initial value of this field.
Inherited from
MetaField.initial
name
readonly
public
name
:
string
The name of this field displayed in the editor.
Inherited from
MetaField.name
spacing
public
spacing
:
boolean
=
false
MetaField.spacing
type
readonly
public
type
:
ObjectConstructor
=
Object
The type of this field used by the editor to display the correct input.
Events
onChanged
public
get
onChanged
():
SubscribableValueEvent
TValue
Triggered when the data of this field changes.
Inherited from
MetaField.onChanged
onDisabled
public
get
onDisabled
():
SubscribableValueEvent
boolean
Triggered when the field becomes disabled or enabled.
Inherited from
MetaField.onDisabled
onFieldsChanged
public
get
onFieldsChanged
():
SubscribableValueEvent
MetaField
any
any
[]
Triggered when the nested fields change.
Accessors
options
public
get
options
():
undefined
MetaField
any
any
Methods
clone
public
override
clone
():
ExporterMetaField
Create a clone of this field.
Overwrites
MetaField.clone
describe
public
describe
description
:
string
:
ExporterMetaField
Set the description of this field.
Parameters
-
description : stringThe description.
MetaField.describe
disable
public
disable
value
:
boolean
=
true
:
ExporterMetaField
Disable or enable the field in the editor.
Parameters
-
value : boolean = trueWhether the field should be disabled.
MetaField.disable
get
Get the current value.
Inherited from
MetaField.get
parse
Convert a serialized value into a runtime type.
Parameters
Inherited from
MetaField.parse
serialize
Serialize the value of this field.
Overwrites
MetaField.serialize
set
Set the current value.
Parameters
Overwrites
MetaField.set
space
public
space
value
:
boolean
=
true
:
ExporterMetaField
Add or remove spacing at the beginning of this field.
Parameters
-
value : boolean = trueWhether to include the spacing.
MetaField.space