Documentation

Unity Engine

Download Unity

Unity Engine

operator !=(Pose, Pose)

Compares two poses for inequality.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Operator
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool operator !=(Pose a, Pose b)

Parameters

The first pose to compare.

The second pose to compare.

Returns

Type

Description

boolTrue if the two poses aren't equal. Otherwise, false.

Remarks

Two poses aren't equal if their positions are farther apart than a small tolerance, or if any component of their rotations doesn't match exactly. The operator compares the positions with the Vector3 equality operator and the rotations with Quaternion.Equals.