mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
cppkore uses string/wstring as StringBase while we use std::string/std::wstring as string/wstring. Changed all types in cppkore to String/WString instead.
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();
|
|
};
|
|
} |