Click or drag to resize

EntityId Operators and Type Conversions

The EntityId type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberFalse
Implements the operator false. Returns true if the specified value is of the default empty type or has an invalid handle.
Public operatorStatic member(Component to EntityId)
Performs an implicit conversion from Component to EntityId. Returns the entity of the component.
Public operatorStatic member(EntityId to Int32)
Performs an implicit conversion from EntityId to Int32. Returns the handle of this value.
Public operatorStatic member(EntityId to Boolean)
Performs an implicit conversion from EntityId to Boolean. Returns true if the specified value is not of the default empty type and does not have an invalid handle.
Public operatorStatic memberInequality
Implements the operator !=.
Public operatorStatic memberLogicalNot
Implements the operator !. Returns true if the specified value is of the default empty type or has an invalid handle.
Public operatorStatic memberTrue
Implements the operator true. Returns true if the specified value is not of the default empty type and does not have an invalid handle.
Top
See Also