Corgi Engine  v9.2
MoreMountains.Tools.MMPlotter Class Reference
Inheritance diagram for MoreMountains.Tools.MMPlotter:

Public Member Functions

virtual string[] GetMethodsList ()
 
virtual float InvokeTween (int index, object[] parameters)
 
virtual string TweenName (int index)
 
virtual void DrawGraph ()
 
virtual void SetMaterial (Material newMaterial)
 

Public Attributes

MethodInfo TweenMethod
 
int TweenMethodIndex
 
float GraphSize = 1f
 
int Resolution = 100
 
Transform PlotPointPrefab
 
float PointScaleFactor = 1f
 
Material PlotPointMaterial
 
float DistanceBetweenPoints = 1f
 
MMPlotterAxis Axis
 
float MovementPauseDuration = 0.5f
 

Protected Member Functions

virtual void FillMethodList ()
 
virtual void OnEnable ()
 
virtual void Start ()
 
virtual void Initialization ()
 
virtual void DrawAxis ()
 
virtual void DrawPoints ()
 
virtual void Cleanup ()
 
virtual void Update ()
 

Protected Attributes

Transform[] _points
 
float _pointScale
 
Vector3 _scale
 
Vector3 _position
 
Transform _point
 
Vector3 _horizontalAxisStart
 
Vector3 _horizontalAxisEnd
 
Vector3 _verticalAxisStart
 
Vector3 _verticalAxisEnd
 
float _axisWidth
 
List< MethodInfo > _methodList
 
Vector2 _pointValues = Vector2.zero
 
object[] _parameter
 
MMPlotterAxis _axis
 
Vector3 _positionPointInitialPosition
 
Vector3 _positionPointVerticalInitialPosition
 
Vector3 _rotationPointInitialRotation
 
Vector3 _scalePointInitialScale
 
float _currentMovement = 0f
 
float _lastMovementEndedAt = 0f
 
Vector3 _curvePointNewMovement = Vector3.zero
 
string _timeString
 
Vector3 _newScale
 
float _newValue
 
float _newScaleUnit
 
Vector3 Vector3Zero = Vector3.zero
 

Static Protected Attributes

const float _plotterCurvePointScale = 0.1f
 

Member Function Documentation

◆ Cleanup()

virtual void MoreMountains.Tools.MMPlotter.Cleanup ( )
protectedvirtual

◆ DrawAxis()

virtual void MoreMountains.Tools.MMPlotter.DrawAxis ( )
protectedvirtual

◆ DrawGraph()

virtual void MoreMountains.Tools.MMPlotter.DrawGraph ( )
virtual

◆ DrawPoints()

virtual void MoreMountains.Tools.MMPlotter.DrawPoints ( )
protectedvirtual

◆ FillMethodList()

virtual void MoreMountains.Tools.MMPlotter.FillMethodList ( )
protectedvirtual

◆ GetMethodsList()

virtual string [] MoreMountains.Tools.MMPlotter.GetMethodsList ( )
virtual

◆ Initialization()

virtual void MoreMountains.Tools.MMPlotter.Initialization ( )
protectedvirtual

◆ InvokeTween()

virtual float MoreMountains.Tools.MMPlotter.InvokeTween ( int  index,
object[]  parameters 
)
virtual

◆ OnEnable()

virtual void MoreMountains.Tools.MMPlotter.OnEnable ( )
protectedvirtual

◆ SetMaterial()

virtual void MoreMountains.Tools.MMPlotter.SetMaterial ( Material  newMaterial)
virtual

◆ Start()

virtual void MoreMountains.Tools.MMPlotter.Start ( )
protectedvirtual

◆ TweenName()

virtual string MoreMountains.Tools.MMPlotter.TweenName ( int  index)
virtual

◆ Update()

virtual void MoreMountains.Tools.MMPlotter.Update ( )
protectedvirtual

Member Data Documentation

◆ _axis

MMPlotterAxis MoreMountains.Tools.MMPlotter._axis
protected

◆ _axisWidth

float MoreMountains.Tools.MMPlotter._axisWidth
protected

◆ _currentMovement

float MoreMountains.Tools.MMPlotter._currentMovement = 0f
protected

◆ _curvePointNewMovement

Vector3 MoreMountains.Tools.MMPlotter._curvePointNewMovement = Vector3.zero
protected

◆ _horizontalAxisEnd

Vector3 MoreMountains.Tools.MMPlotter._horizontalAxisEnd
protected

◆ _horizontalAxisStart

Vector3 MoreMountains.Tools.MMPlotter._horizontalAxisStart
protected

◆ _lastMovementEndedAt

float MoreMountains.Tools.MMPlotter._lastMovementEndedAt = 0f
protected

◆ _methodList

List<MethodInfo> MoreMountains.Tools.MMPlotter._methodList
protected

◆ _newScale

Vector3 MoreMountains.Tools.MMPlotter._newScale
protected

◆ _newScaleUnit

float MoreMountains.Tools.MMPlotter._newScaleUnit
protected

◆ _newValue

float MoreMountains.Tools.MMPlotter._newValue
protected

◆ _parameter

object [] MoreMountains.Tools.MMPlotter._parameter
protected

◆ _plotterCurvePointScale

const float MoreMountains.Tools.MMPlotter._plotterCurvePointScale = 0.1f
staticprotected

◆ _point

Transform MoreMountains.Tools.MMPlotter._point
protected

◆ _points

Transform [] MoreMountains.Tools.MMPlotter._points
protected

◆ _pointScale

float MoreMountains.Tools.MMPlotter._pointScale
protected

◆ _pointValues

Vector2 MoreMountains.Tools.MMPlotter._pointValues = Vector2.zero
protected

◆ _position

Vector3 MoreMountains.Tools.MMPlotter._position
protected

◆ _positionPointInitialPosition

Vector3 MoreMountains.Tools.MMPlotter._positionPointInitialPosition
protected

◆ _positionPointVerticalInitialPosition

Vector3 MoreMountains.Tools.MMPlotter._positionPointVerticalInitialPosition
protected

◆ _rotationPointInitialRotation

Vector3 MoreMountains.Tools.MMPlotter._rotationPointInitialRotation
protected

◆ _scale

Vector3 MoreMountains.Tools.MMPlotter._scale
protected

◆ _scalePointInitialScale

Vector3 MoreMountains.Tools.MMPlotter._scalePointInitialScale
protected

◆ _timeString

string MoreMountains.Tools.MMPlotter._timeString
protected

◆ _verticalAxisEnd

Vector3 MoreMountains.Tools.MMPlotter._verticalAxisEnd
protected

◆ _verticalAxisStart

Vector3 MoreMountains.Tools.MMPlotter._verticalAxisStart
protected

◆ Axis

MMPlotterAxis MoreMountains.Tools.MMPlotter.Axis

◆ DistanceBetweenPoints

float MoreMountains.Tools.MMPlotter.DistanceBetweenPoints = 1f

◆ GraphSize

float MoreMountains.Tools.MMPlotter.GraphSize = 1f

◆ MovementPauseDuration

float MoreMountains.Tools.MMPlotter.MovementPauseDuration = 0.5f

◆ PlotPointMaterial

Material MoreMountains.Tools.MMPlotter.PlotPointMaterial

◆ PlotPointPrefab

Transform MoreMountains.Tools.MMPlotter.PlotPointPrefab

◆ PointScaleFactor

float MoreMountains.Tools.MMPlotter.PointScaleFactor = 1f

◆ Resolution

int MoreMountains.Tools.MMPlotter.Resolution = 100

◆ TweenMethod

MethodInfo MoreMountains.Tools.MMPlotter.TweenMethod

◆ TweenMethodIndex

int MoreMountains.Tools.MMPlotter.TweenMethodIndex

◆ Vector3Zero

Vector3 MoreMountains.Tools.MMPlotter.Vector3Zero = Vector3.zero
protected

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