ドキュメント

Unity Engine

Download Unity

Unity Engine

operator !=(Pose, Pose)

Compares two poses for inequality.
読み終わるまでの所要時間 1 分最終更新 19日前

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.