ITriangulator.SetBounds(Vector3, Vector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the bounds of vertices to be triangulated. All vertices entered in Add() should be inside the quad formed by these bounds.
public void SetBounds (UnityEngine.Vector3 minPos, UnityEngine.Vector3 maxPos);
abstract member SetBounds : UnityEngine.Vector3 * UnityEngine.Vector3 -> unit
Public Sub SetBounds (minPos As Vector3, maxPos As Vector3)
Parameters
- minPos
- UnityEngine.Vector3
The minimum coordinates of the bounds.
- maxPos
- UnityEngine.Vector3
The maximum coordinates of the bounds.
Remarks
The vertical coordinate Y is ignored. Note that queries outsde the bounds are okay, only all vertices must be contained.