BoundsExtensions.GetCornerPositionsFromRendererBounds 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.
Gets all the corner points from Renderer's Bounds
public:
[System::Runtime::CompilerServices::Extension]
static void GetCornerPositionsFromRendererBounds(UnityEngine::Bounds bounds, cli::array <UnityEngine::Vector3> ^ % positions);
public static void GetCornerPositionsFromRendererBounds (this UnityEngine.Bounds bounds, ref UnityEngine.Vector3[] positions);
static member GetCornerPositionsFromRendererBounds : UnityEngine.Bounds * Vector3[] -> unit
<Extension()>
Public Sub GetCornerPositionsFromRendererBounds (bounds As Bounds, ByRef positions As Vector3())
Parameters
- bounds
- UnityEngine.Bounds
- positions
- UnityEngine.Vector3[]