载入中...
搜索中...
未找到
VegetationPresetConversion.cpp 文件参考
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <new>
#include <sstream>
#include <utility>
#include "asset/import/VegetationPreset.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::asset_import
 

函数

EVENGINE_API_PLATFORM Result< VegetationConversionResult > eve::asset_import::executeVegetationConversion (VegetationConversionCandidate source, const std::vector< VegetationPresetCommand > &commands, std::optional< asset::CanonicalMeshData > mesh, const std::map< std::string, VegetationPresetImage > &textures, float variationSeed=1.f, const std::optional< std::array< float, 16 > > &sourceToWorld={}, const std::optional< std::array< float, 9 > > &sourceDirectionToWorld={})
 Apply commands and execute all available mesh and texture outputs as one transaction.
 
EVENGINE_API_PLATFORM Result< VegetationConversionResult > eve::asset_import::executeUnityVegetationConversion (const UnityVegetationConversionRequest &request)
 Decode a Unity Material, evaluate one TVE preset graph, and execute every output atomically.
 
EVENGINE_API_PLATFORM Result< std::vector< std::uint8_t > > eve::asset_import::encodeUnityVegetationConversionMaterial (const VegetationConversionCandidate &candidate, std::uint64_t maximumBytes=16ull *1024ull *1024ull)
 Encode an applied vegetation candidate as a detached Unity text Material for the canonical TVE importer.