ドキュメント

Unity Engine

Unity Engine

ToLayerMask()

Convert the lower 32-bits of the 64-bit mask to the 32-bit LayerMask. A LayerMask is only 32-bits wide so the upper 32-bits of the PhysicsMask will be ignored.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public readonly LayerMask ToLayerMask()

Returns

Type

Description

LayerMaskA 32-bit layer-mask converted from the lower 32-bits of the 64-bit mask.