VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Plane AVR.UI.AVR_Canvas.GetPlane ( )
inline

Returns the 3d plane this canvas lies in

Returns
3d plane this canvas lies in

Definition at line 121 of file AVR_Canvas.cs.

121  {
122  Plane canvasPlane = new Plane();
123  canvasPlane.Set3Points(
124  transform.position,
125  transform.position + transform.right,
126  transform.position + transform.up
127  );
128  return canvasPlane;
129  }