BoundsExtensions.GetMeshFilterBoundsPoints Method

Definition

GetMeshFilterBoundsPoints - gets bounding box points using MeshFilter method.

public:
 static void GetMeshFilterBoundsPoints(UnityEngine::GameObject ^ target, System::Collections::Generic::List<UnityEngine::Vector3> ^ boundsPoints, UnityEngine::LayerMask ignoreLayers);
public static void GetMeshFilterBoundsPoints (UnityEngine.GameObject target, System.Collections.Generic.List<UnityEngine.Vector3> boundsPoints, UnityEngine.LayerMask ignoreLayers);
static member GetMeshFilterBoundsPoints : UnityEngine.GameObject * System.Collections.Generic.List<UnityEngine.Vector3> * UnityEngine.LayerMask -> unit
Public Sub GetMeshFilterBoundsPoints (target As GameObject, boundsPoints As List(Of Vector3), ignoreLayers As LayerMask)

Parameters

target
UnityEngine.GameObject

gameObject that boundingbox bounds

boundsPoints
List<UnityEngine.Vector3>

array reference that gets filled with points

ignoreLayers
UnityEngine.LayerMask

layerMask to simplify search

Applies to