Documentation

Unity Engine

Download Unity

Unity Engine

Equals

Returns true if the quaternion is equal to a given quaternion, false otherwise.
Read time 1 minuteLast updated a day ago

Definition

Equals(quaternion)

Returns true if the quaternion is equal to a given quaternion, false otherwise.
public readonly bool Equals(quaternion x)

Parameters

The quaternion to compare with.

Returns

Type

Description

boolTrue if the quaternion is equal to the input, false otherwise.

Equals(Object)

Returns whether true if the quaternion is equal to a given quaternion, false otherwise.
public override readonly bool Equals(object x)

Parameters

The object to compare with.

Returns

Type

Description

boolTrue if the quaternion is equal to the input, false otherwise.