FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.UI.Mountpoints.SmoothTransform Class Reference

Convenience class for handling a transform that should smooth damp/lerp towards a specified position and rotation over a specified time period. More...

Inheritance diagram for FMAR.UI.Mountpoints.SmoothTransform:

Public Types

enum  SmoothBehavior { SmoothDamp , Lerp }
 

Public Member Functions

void SetTarget (Vector3 pos, Quaternion rot)
 Set new position and rotation targets for this SmoothTransform.
 

Detailed Description

Convenience class for handling a transform that should smooth damp/lerp towards a specified position and rotation over a specified time period.

Member Enumeration Documentation

◆ SmoothBehavior

Enumerator
SmoothDamp 
Lerp 

Member Function Documentation

◆ SetTarget()

void FMAR.UI.Mountpoints.SmoothTransform.SetTarget ( Vector3 pos,
Quaternion rot )
inline

Set new position and rotation targets for this SmoothTransform.


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