Show / Hide Table of Contents

Class FieldInstance

Json Instance Data

Properties

| Improve this Doc View Source

Definition

Type Description
FieldDefinition

Reference of this instance's definition.
Make sure to call LDtkUidBank.CacheUidData(LdtkJson) first!

| Improve this Doc View Source

DefUid

Reference of the Field definition UID

Type Description
System.Int32
| Improve this Doc View Source

Identifier

Field definition identifier

Type Description
System.String
| Improve this Doc View Source

IsBool

Type Description
System.Boolean

Returns if this field (or array element) type is a Bool.

| Improve this Doc View Source

IsColor

Type Description
System.Boolean

Returns if this field (or array element) type is a Color.

| Improve this Doc View Source

IsEntityRef

Type Description
System.Boolean

Returns if this field (or array element) type is a EntityRef.

| Improve this Doc View Source

IsEnum

Type Description
System.Boolean

Returns if this field (or array element) type is an Enum.

| Improve this Doc View Source

IsFilePath

Type Description
System.Boolean

Returns if this field (or array element) type is a FilePath.

| Improve this Doc View Source

IsFloat

Type Description
System.Boolean

Returns if this field (or array element) type is a Float.

| Improve this Doc View Source

IsInt

Type Description
System.Boolean

Returns if this field (or array element) type is an Int.

| Improve this Doc View Source

IsMultilines

Type Description
System.Boolean

Returns if this field (or array element) type is MultiLines.

| Improve this Doc View Source

IsPoint

Type Description
System.Boolean

Returns if this field (or array element) type is a Point.

| Improve this Doc View Source

IsString

Type Description
System.Boolean

Returns if this field (or array element) type is a String.

| Improve this Doc View Source

IsTile

Type Description
System.Boolean

Returns if this field (or array element) type is a Tile.

| Improve this Doc View Source

RealEditorValues

Editor internal raw values

Type Description
System.Object[]
| Improve this Doc View Source

Tile

Optional TilesetRect used to display this field (this can be the field own Tile, or some other Tile guessed from the value, like an Enum).

Type Description
TilesetRectangle
| Improve this Doc View Source

Type

Type of the field, such as Int, Float, String, Enum(my_enum_name), Bool, etc.
NOTE: if you enable the advanced option Use Multilines type, you will have "Multilines" instead of "String" when relevant.

Type Description
System.String
| Improve this Doc View Source

Value

Actual value of the field instance.

Type Description
System.Object

Methods

| Improve this Doc View Source

ToString()

Returns
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX