Documentation

Unity Engine

Unity Engine

Equals

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

Definition

Equals(quaternion)

Returns true if the quaternion is equal to a given quaternion, false otherwise.
public 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 bool Equals(object x)

Parameters

The object to compare with.

Returns

Type

Description

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