Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
setVertices(Vector3[]) Method
An array of Vector3 points in worldspace that represent the corner's of the Rectangle's Outer and Inner boundaries. The first four values must represent the Outer boundaries' corners in clockwise order starting from top-left (user forward-left). The second four values must represent the Inner boundaries' corners in clockwise order from top-left (user forward-left).
Sets the values of the Rectangle's defining Outer and Inner vertex boundaries.
Syntax
public void setVertices( 
   UnityEngine.Vector3[] vertices
)

Parameters

vertices
An array of Vector3 points in worldspace that represent the corner's of the Rectangle's Outer and Inner boundaries. The first four values must represent the Outer boundaries' corners in clockwise order starting from top-left (user forward-left). The second four values must represent the Inner boundaries' corners in clockwise order from top-left (user forward-left).
See Also

Reference

Rectangle Class
Rectangle Members
Overload List

 

 


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

Send Feedback