mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
33 lines
996 B
C
33 lines
996 B
C
|
#pragma once
|
||
|
|
||
|
#include <cstdint>
|
||
|
#include "Exporter.h"
|
||
|
|
||
|
namespace Assets::Exporters
|
||
|
{
|
||
|
// The Wavefront Object exporter
|
||
|
class WavefrontOBJ : public Exporter
|
||
|
{
|
||
|
public:
|
||
|
WavefrontOBJ() = default;
|
||
|
~WavefrontOBJ() = default;
|
||
|
|
||
|
// Exports the given animation to the provided path.
|
||
|
virtual bool ExportAnimation(const Animation& Animation, const string& Path);
|
||
|
// Exports the given model to the provided path.
|
||
|
virtual bool ExportModel(const Model& Model, const string& Path);
|
||
|
|
||
|
// Gets the file extension for this exporters model format.
|
||
|
virtual imstring ModelExtension();
|
||
|
// Gets the file extension for this exporters animation format.
|
||
|
virtual imstring AnimationExtension();
|
||
|
|
||
|
// Gets the required scaling constant for this exporter.
|
||
|
virtual ExporterScale ExportScale();
|
||
|
|
||
|
// Gets whether or not the exporter supports animation exporting.
|
||
|
virtual bool SupportsAnimations();
|
||
|
// Gets whether or not the exporter supports model exporting.
|
||
|
virtual bool SupportsModels();
|
||
|
};
|
||
|
}
|