Gravity Engine 2 5.1
Loading...
Searching...
No Matches
GravityEngine2.Plot2D Class Reference

Plot 2D data. More...

Inheritance diagram for GravityEngine2.Plot2D:

Public Member Functions

void MarkerUpdate (Vector2 marker, GameObject markerObject)
 
void PlotData (Vector2[] points)
 

Public Attributes

LineRenderer axisRenderer
 
float horizontalSize = 100.0f
 
LineRenderer lineRenderer
 
TextMeshPro markerText
 
float verticalSize = 100.0f
 
TextMeshPro xLabel
 
string xLabelText = "X"
 
TextMeshPro xMaxText
 
TextMeshPro xMinText
 
TextMeshPro yLabel
 
string yLabelText = "Y"
 
TextMeshPro yMaxText
 
TextMeshPro yMinText
 

Detailed Description

Plot 2D data.

Very simple plot routine that plots data in XY space. Since Unity is left-handed this means that the camera is located at -Z looking towards the origin.


The documentation for this class was generated from the following file: