AR + GPS Location  3.0.0
All Classes Namespaces Functions Variables Properties Events Pages
ARLocation.MoveAlongPath Class Reference

This component, when attached to a GameObject, makes it traverse a path that interpolates a given set of geographical locations. More...

Inheritance diagram for ARLocation.MoveAlongPath:

Classes

class  PathSettingsData
 
class  PlacementSettingsData
 
class  PlaybackSettingsData
 
class  StateData
 

Public Member Functions

void SetLocationPath (LocationPath path)
 Change the LocationPath the GameObject will traverse. More...
 
void Restart ()
 
void Play ()
 Starts playing or resumes the playback. More...
 
void GoTo (float t)
 Moves the object to the spline point corresponding to the given parameter. More...
 
void Pause ()
 Pauses the movement along the path. More...
 
void Stop ()
 Stops the movement along the path. More...
 

Public Attributes

PathSettingsData PathSettings = new PathSettingsData()
 
PlaybackSettingsData PlaybackSettings = new PlaybackSettingsData()
 
PlacementSettingsData PlacementSettings = new PlacementSettingsData()
 
bool DebugMode
 

Properties

float Speed [get, set]
 

Detailed Description

This component, when attached to a GameObject, makes it traverse a path that interpolates a given set of geographical locations.

Definition at line 17 of file MoveAlongPath.cs.

Member Function Documentation

◆ GoTo()

void ARLocation.MoveAlongPath.GoTo ( float  t)

Moves the object to the spline point corresponding to the given parameter.

Parameters
tBetween 0 and 1

Definition at line 226 of file MoveAlongPath.cs.

◆ Pause()

void ARLocation.MoveAlongPath.Pause ( )

Pauses the movement along the path.

Definition at line 234 of file MoveAlongPath.cs.

◆ Play()

void ARLocation.MoveAlongPath.Play ( )

Starts playing or resumes the playback.

Definition at line 216 of file MoveAlongPath.cs.

◆ SetLocationPath()

void ARLocation.MoveAlongPath.SetLocationPath ( LocationPath  path)

Change the LocationPath the GameObject will traverse.

Parameters
path

Definition at line 129 of file MoveAlongPath.cs.

◆ Stop()

void ARLocation.MoveAlongPath.Stop ( )

Stops the movement along the path.

Definition at line 242 of file MoveAlongPath.cs.


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