Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

BoundsInt.Contains

public bool Contains(Vector3Int position);

Parameters

position Point to check.
inclusive Whether the max limits are included in the check.

Returns

bool Is point contained in the bounding box?

Description

Is point contained in the bounding box?

Did you find this page useful? Please give it a rating: