Extracts those vertices from a provided array that correspond to the corners of an Inner boundary rectangle.
public static UnityEngine.Vector3[] getInnerVertices(
UnityEngine.Vector3[]
)
Parameters
- _verticesArray
- An array of 8 vertices expressed as Vector3 points in worldspace.
Return Value
An array of four
Vector3 points in worldspace that represent the Inner corners of the boundary rectangle (starting from the top-left/player forward-left corner and proceeding clockwise).