Animation in Actor.  
 More...
#include <Actor.hh>
◆ Animation()
      
        
          | sdf::SDF_VERSION_NAMESPACE::Animation::Animation  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ Filename()
      
        
          | const std::string& sdf::SDF_VERSION_NAMESPACE::Animation::Filename  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get the animation filename. 
- Returns
 - Filename of the animation. 
 
 
 
◆ FilePath()
      
        
          | const std::string& sdf::SDF_VERSION_NAMESPACE::Animation::FilePath  | 
          ( | 
           | ) | 
           const | 
        
      
 
The path to the file where this element was loaded from. 
- Returns
 - Full path to the file on disk. 
 
 
 
◆ InterpolateX()
      
        
          | bool sdf::SDF_VERSION_NAMESPACE::Animation::InterpolateX  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get whether the animation is interpolated on X. 
- Returns
 - True if interpolated on X. 
 
 
 
◆ Load()
Load the animation based on a element pointer. 
This is not the usual entry point. Typical usage of the SDF DOM is through the Root object. 
- Parameters
 - 
  
  
 
- Returns
 - Errors, which is a vector of Error objects. Each Error includes an error code and message. An empty vector indicates no error. 
 
 
 
◆ Name()
      
        
          | const std::string& sdf::SDF_VERSION_NAMESPACE::Animation::Name  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get the name of the animation. 
- Returns
 - Name of the animation. 
 
 
 
◆ Scale()
      
        
          | double sdf::SDF_VERSION_NAMESPACE::Animation::Scale  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get the scale for the animation skeleton. 
- Returns
 - Scale of the animation skeleton. 
 
 
 
◆ SetFilename()
      
        
          | void sdf::SDF_VERSION_NAMESPACE::Animation::SetFilename  | 
          ( | 
          const std::string &  | 
          _filename | ) | 
           | 
        
      
 
Set the filename of the animation. 
- Parameters
 - 
  
    | [in] | _filename | Path to animation file.  | 
  
   
 
 
◆ SetFilePath()
      
        
          | void sdf::SDF_VERSION_NAMESPACE::Animation::SetFilePath  | 
          ( | 
          const std::string &  | 
          _filePath | ) | 
           | 
        
      
 
Set the path to the file where this element was loaded from. 
\paramp[in] _filePath Full path to the file on disk. 
 
 
◆ SetInterpolateX()
      
        
          | void sdf::SDF_VERSION_NAMESPACE::Animation::SetInterpolateX  | 
          ( | 
          bool  | 
          _interpolateX | ) | 
           | 
        
      
 
Set whether the animation is interpolated on X. 
- Parameters
 - 
  
    | [in] | _interpolateX | True to indicate interpolation on X.  | 
  
   
 
 
◆ SetName()
      
        
          | void sdf::SDF_VERSION_NAMESPACE::Animation::SetName  | 
          ( | 
          const std::string &  | 
          _name | ) | 
           | 
        
      
 
Set the name of the animation. 
- Parameters
 - 
  
    | [in] | _name | Name of the animation.  | 
  
   
 
 
◆ SetScale()
      
        
          | void sdf::SDF_VERSION_NAMESPACE::Animation::SetScale  | 
          ( | 
          double  | 
          _scale | ) | 
           | 
        
      
 
Set the scale of the animation skeleton. 
- Parameters
 - 
  
    | [in] | _scale | Scale for animation skeleton.  | 
  
   
 
 
The documentation for this class was generated from the following file: