文档

Unity Engine

Unity Engine

operator !=(Pose, Pose)

Compares two poses for inequality.
阅读时间1 分钟最后更新于 11 天前

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.