Class
IdentifiableObject
open class IdentifiableObject : Equatable
IdentifiableObject provides base functionality for using unique
names that are useful for debugging.
Relationships
Subclasses
DirectorA
Directoris responsible for managing an application and enqueuingScenes.LayerA
Layeris responsible for providing subclassedRenderableEntityobjects.RenderableEntityA
RenderableEntityprovides the majority of rendering and interactive functionality by overriding the required methods and working with theDispatcherto register events of intrest.SceneA
Sceneis responsible for providing the requiredLayers for an application.
Conforms To
Equatable
Initializers
init(name:)
public init(name:String?=nil)
Creates a new IdentifiableObject from the specified parameters.
Parameters
| Name | Type | Description |
|---|---|---|
| name | String? |
a non-unique name to use while generating unique name for object. |
Properties
name
public var name : String
A unique name associated with the object.
Operators
==
public static func == (left: IdentifiableObject, right: IdentifiableObject) -> Bool
Equivalence operator for two IdentifiableObjects.