Scene
class Scene
A scene contains a layer hierarchy which is animated over time.
-
The scene’s unique identifier.
Declaration
var id: String { get }
-
The scene’s name.
Declaration
var name: String { get }
-
Original size of the scene when it was first created.
Declaration
var size: Size { get }
-
Root layer of the scene’s layer hierarchy.
Declaration
var rootLayer: Layer { get }
-
The object’s description
Declaration
var description: String { get }
-
Compares two values for equality.
The
equals
function is invoked using infix notation as in the following code snippet:lhs == rhs
.Declaration
func equals(_ lhs: Scene) -> Bool
Parameters
lhsA value.
rhsAnother value.
Return Value
true
if thelhs
andrhs
are equal,false
otherwise.