Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Returns true if the quaternion is equal to a given quaternion, false otherwise.
Read time 1 minuteLast updated 13 days 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.