Operator

==(_:_:)

Indicates whether two entities are equal.

Declaration

static func == (lhs: Entity, rhs: Entity) -> Bool

Parameters

lhs

The first entity to compare.

rhs

The second entity to compare.

Return Value

A Boolean value set to true if the two scenes are equal.

Relationships

From Protocol

See Also

Comparing Entities

static func != (Entity, Entity) -> Bool

Indicates whether two entities are not equal.

func hash(into: inout Hasher)

Hashes the essential components of the entity by feeding them into the given hash function.

var hashValue: Int

The hashed value of the entity.