Feel  5.1
The best way to improve your game's feel and make it extra juicy
Lofelt.NiceVibrations.HapticCurve Class Reference
Inheritance diagram for Lofelt.NiceVibrations.HapticCurve:

Public Member Functions

virtual void UpdateCurve (float amplitude, float frequency)
 

Public Attributes

float Amplitude = 1f
 
float Frequency = 0f
 
int PointsCount = 50
 
float AmplitudeFactor = 3
 
RectTransform StartPoint
 
RectTransform EndPoint
 
bool Move = false
 
float MovementSpeed = 1f
 

Protected Member Functions

virtual void Awake ()
 
virtual void Initialization ()
 
virtual void DrawCurve ()
 
virtual void Update ()
 

Protected Attributes

LineRenderer _targetLineRenderer
 
List< Vector3 > Points
 
Canvas _canvas
 
Camera _camera
 
Vector3 _startPosition
 
Vector3 _endPosition
 
Vector3 _workPoint
 

Member Function Documentation

◆ Awake()

virtual void Lofelt.NiceVibrations.HapticCurve.Awake ( )
protectedvirtual

◆ DrawCurve()

virtual void Lofelt.NiceVibrations.HapticCurve.DrawCurve ( )
protectedvirtual

◆ Initialization()

virtual void Lofelt.NiceVibrations.HapticCurve.Initialization ( )
protectedvirtual

◆ Update()

virtual void Lofelt.NiceVibrations.HapticCurve.Update ( )
protectedvirtual

◆ UpdateCurve()

virtual void Lofelt.NiceVibrations.HapticCurve.UpdateCurve ( float  amplitude,
float  frequency 
)
virtual

Member Data Documentation

◆ _camera

Camera Lofelt.NiceVibrations.HapticCurve._camera
protected

◆ _canvas

Canvas Lofelt.NiceVibrations.HapticCurve._canvas
protected

◆ _endPosition

Vector3 Lofelt.NiceVibrations.HapticCurve._endPosition
protected

◆ _startPosition

Vector3 Lofelt.NiceVibrations.HapticCurve._startPosition
protected

◆ _targetLineRenderer

LineRenderer Lofelt.NiceVibrations.HapticCurve._targetLineRenderer
protected

◆ _workPoint

Vector3 Lofelt.NiceVibrations.HapticCurve._workPoint
protected

◆ Amplitude

float Lofelt.NiceVibrations.HapticCurve.Amplitude = 1f

◆ AmplitudeFactor

float Lofelt.NiceVibrations.HapticCurve.AmplitudeFactor = 3

◆ EndPoint

RectTransform Lofelt.NiceVibrations.HapticCurve.EndPoint

◆ Frequency

float Lofelt.NiceVibrations.HapticCurve.Frequency = 0f

◆ Move

bool Lofelt.NiceVibrations.HapticCurve.Move = false

◆ MovementSpeed

float Lofelt.NiceVibrations.HapticCurve.MovementSpeed = 1f

◆ Points

List<Vector3> Lofelt.NiceVibrations.HapticCurve.Points
protected

◆ PointsCount

int Lofelt.NiceVibrations.HapticCurve.PointsCount = 50

◆ StartPoint

RectTransform Lofelt.NiceVibrations.HapticCurve.StartPoint

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