ドキュメント

Unity Engine

Unity Engine

implicit operator bool2(bool)

Implicitly converts a single bool value to a bool2 vector by assigning it to every component.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Operator
  • Namespace: Unity.Mathematics
  • Assembly: UnityEngine.MathematicsModule
public static implicit operator bool2(bool v)

Parameters

bool to convert to bool2

Returns

Type

Description

bool2Converted value.