TrajectoryInfo Class Reference

Information about a trajectory for an Actor. More...

#include <Actor.hh>

Public Member Functions

 TrajectoryInfo ()
 Constructor. More...
 

Public Attributes

double duration
 Duration of this keyframe in seconds. More...
 
double endTime
 End time of this keyframe within the trajectory, in seconds. More...
 
unsigned int id
 ID of the trajectory. More...
 
double startTime
 Start time of this keyframe within the trajectory, in seconds. More...
 
bool translated
 True if the trajectory is translated. More...
 
std::string type
 Type of trajectory. More...
 

Detailed Description

Information about a trajectory for an Actor.

This doesn't contain the keyframes information, just duration. Equivalent to ignition::common::TrajectoryInfo

Constructor & Destructor Documentation

◆ TrajectoryInfo()

Constructor.

Member Data Documentation

◆ duration

double duration

Duration of this keyframe in seconds.

◆ endTime

double endTime

End time of this keyframe within the trajectory, in seconds.

◆ id

unsigned int id

ID of the trajectory.

◆ startTime

double startTime

Start time of this keyframe within the trajectory, in seconds.

◆ translated

bool translated

True if the trajectory is translated.

◆ type

std::string type

Type of trajectory.

If it matches the name of a skeleton animation, they will be played together.


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