文档

Unity Engine

Unity Engine

implicit operator bool3(bool)

Implicitly converts a single bool value to a bool3 vector by assigning it to every component.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

bool to convert to bool3

Returns

Type

Description

bool3Converted value.