Object
public struct Object : Equatable, ObjectProtocol, MutablePropertied
Represents a Tiled object (which are contained inside Object Layer
s). 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
Object
that is unique with theMap
Declaration
Swift
public let id: Int
-
The name of the
Object
, or an emptyString
Declaration
Swift
public let name: String
-
The type of the object
Declaration
Swift
public let type: String?
-
true
if theObject
should be renderedDeclaration
Swift
public let visible: Bool
-
User specified properties of the
Object
Declaration
Swift
public var properties: Properties
-
The type of
Object
together with any type specific attributesDeclaration
Swift
public let kind: Kind