Object
public struct Object : Equatable, ObjectProtocol, MutablePropertied
Represents a Tiled object (which are contained inside Object Layers). All objects share some common attributes (e.g. their position inside their containing Layer).
-
The kind of object, together with attached data specific to that kind of object
See moreDeclaration
Swift
public enum Kind : Equatable -
An identifier for an
Objectthat is unique with theMapDeclaration
Swift
public let id: Int -
The name of the
Object, or an emptyStringDeclaration
Swift
public let name: String -
The type of the object
Declaration
Swift
public let type: String? -
trueif theObjectshould be renderedDeclaration
Swift
public let visible: Bool -
User specified properties of the
ObjectDeclaration
Swift
public var properties: Properties -
The type of
Objecttogether with any type specific attributesDeclaration
Swift
public let kind: Kind
View on GitHub
Object Structure Reference