Gazebo Common

API Reference

5.7.0
KeyFrame Class Reference

A key frame in an animation. More...

#include <gz/common/KeyFrame.hh>

Public Member Functions

 KeyFrame (const double _time)
 Constructor. More...
 
virtual ~KeyFrame ()
 Destructor. More...
 
double Time () const
 Get the time of the keyframe. More...
 

Detailed Description

A key frame in an animation.

Constructor & Destructor Documentation

◆ KeyFrame()

KeyFrame ( const double  _time)
explicit

Constructor.

Parameters
[in]_timeTime of the keyframe in seconds

◆ ~KeyFrame()

virtual ~KeyFrame ( )
virtual

Destructor.

Member Function Documentation

◆ Time()

double Time ( ) const

Get the time of the keyframe.

Returns
the time

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