Gazebo Common

API Reference

6.0.0~pre2
KeyFrame Class Reference

A key frame in an animation. More...

#include <gz/common/KeyFrame.hh>

Public Member Functions

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

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: