Files
o3de/Code/Tools/SceneAPI/SceneData/Rules/SkinMeshAdvancedRule.h
T
Steve Pham b4a2edec6a Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
2021-06-30 19:51:55 -07:00

60 lines
1.8 KiB
C++

#pragma once
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/Memory/Memory.h>
#include <AzCore/std/containers/fixed_vector.h>
#include <AzCore/std/string/string.h>
#include <SceneAPI/SceneCore/DataTypes/Rules/IMeshAdvancedRule.h>
namespace AZ
{
class ReflectContext;
namespace SceneAPI
{
namespace Containers
{
class Scene;
}
namespace SceneData
{
class SkinMeshAdvancedRule
: public DataTypes::IMeshAdvancedRule
{
public:
AZ_RTTI(SkinMeshAdvancedRule, "{0116376D-1E3E-472A-A173-112B317E96AD}", DataTypes::IMeshAdvancedRule);
AZ_CLASS_ALLOCATOR_DECL
SkinMeshAdvancedRule();
~SkinMeshAdvancedRule() override = default;
void SetUse32bitVertices(bool value);
bool Use32bitVertices() const override;
bool MergeMeshes() const override;
void SetUseCustomNormals(bool value);
bool UseCustomNormals() const override;
void SetVertexColorStreamName(const AZStd::string& name);
void SetVertexColorStreamName(AZStd::string&& name);
const AZStd::string& GetVertexColorStreamName() const override;
bool IsVertexColorStreamDisabled() const override;
static void Reflect(ReflectContext* context);
protected:
AZStd::string m_vertexColorStreamName;
bool m_use32bitVertices;
bool m_useCustomNormals;
};
} // SceneData
} // SceneAPI
} // AZ