BoundsExtensions.GetRenderBoundsPoints Method

Definition

GetRenderBoundsPoints gets bounding box points using Render method.

C++
public:
 static void GetRenderBoundsPoints(UnityEngine::GameObject ^ target, System::Collections::Generic::List<UnityEngine::Vector3> ^ boundsPoints, UnityEngine::LayerMask ignoreLayers);

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

Produkt Versionen
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0