Language
Edit

BoundsExtensions.GetRenderBoundsPoints Method

Definition

Gets the bounding box points using UnityEngine.Renderer methods.

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

Parameters

target
UnityEngine.GameObject

The game object that the bounding box bounds.

boundsPoints
List<UnityEngine.Vector3>

An array reference that gets filled with 3D positions.

ignoreLayers
UnityEngine.LayerMask

A layer mask used to simplify search.

Applies to