Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
getInnerOuterVerticesList Method
An array of 8 vertices expressed as Vector3 points in worldspace.
Sorts a collection of vertices into a collection that contains Outer vertices that define an exterior boundary and Inner vertices that define an interior boundary.
Syntax
public static List<Vector3> getInnerOuterVerticesList( 
   UnityEngine.Vector3[] _verticesArray
)

Parameters

_verticesArray
An array of 8 vertices expressed as Vector3 points in worldspace.

Return Value

A List of eight Vector3 points in worldspace, where the first four values represent the Outer corners of the boundary rectangle (starting from the top-left/player forward-left corner and proceeding clockwise) and the second four values represent the Inner corners of the boundary rectangle.
See Also

Reference

Rectangle Class
Rectangle Members

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback