Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
getInnerVertices Method
An array of 8 vertices expressed as Vector3 points in worldspace.
Extracts those vertices from a provided array that correspond to the corners of an Inner boundary rectangle.
Syntax
public static UnityEngine.Vector3[] getInnerVertices( 
   UnityEngine.Vector3[] _verticesArray
)

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).
See Also

Reference

Rectangle Class
Rectangle Members

 

 


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

Send Feedback