/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/EditorPlugins/Assets/EditorPluginAssets/AnimatedMeshAsset/AnimatedMeshAssetObjects.h
38 строк
1 KB
Yuriy Balyuk
Added "Normal Weight" parameter to "Simplify Mesh" feature; ... (#1910)
21 апр 2026, 14:59
Не верифицирован
21 апр 2026, 14:59
f54587c
Код
Авторство
О чём код?
#pragma once #include <EditorPluginAssets/Util/AssetUtils.h> #include <RendererCore/Meshes/MeshBufferUtils.h> struct ezPropertyMetaStateEvent; class ezAnimatedMeshAssetProperties : public ezReflectedClass { EZ_ADD_DYNAMIC_REFLECTION(ezAnimatedMeshAssetProperties, ezReflectedClass); public: ezAnimatedMeshAssetProperties(); ~ezAnimatedMeshAssetProperties(); static void PropertyMetaStateEventHandler(ezPropertyMetaStateEvent& e); ezString m_sMeshFile; ezString m_sMeshIncludeTags; ezString m_sMeshExcludeTags; ezString m_sDefaultSkeleton; bool m_bRecalculateNormals = false; bool m_bRecalculateTangents = true; bool m_bNormalizeWeights = false; bool m_bImportMaterials = true; bool m_bHighPrecision = false; ezEnum<ezMeshVertexColorConversion> m_VertexColorConversion; ezHybridArray<ezMaterialResourceSlot, 8> m_Slots; bool m_bSimplifyMesh = false; float m_fNormalWeight = 0.5f; bool m_bAggressiveSimplification = false; ezUInt8 m_uiMeshSimplification = 50; ezUInt8 m_uiMaxSimplificationError = 5; };