You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.4 KiB
C++
50 lines
1.4 KiB
C++
/*
|
|
* 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
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <AzCore/RTTI/RTTI.h>
|
|
#include <AzCore/std/string/string.h>
|
|
#include <AzCore/Math/Vector3.h>
|
|
|
|
struct aiMaterial;
|
|
|
|
namespace AZ
|
|
{
|
|
namespace SDKMaterial
|
|
{
|
|
class MaterialWrapper
|
|
{
|
|
public:
|
|
AZ_RTTI(MaterialWrapper, "{3B83DEE4-FF59-4AB3-B4F1-14EEE22339F3}");
|
|
enum class MaterialMapType
|
|
{
|
|
Diffuse,
|
|
Specular,
|
|
Bump,
|
|
Normal,
|
|
Metallic,
|
|
Roughness,
|
|
AmbientOcclusion,
|
|
Emissive,
|
|
BaseColor
|
|
};
|
|
|
|
virtual ~MaterialWrapper() = default;
|
|
|
|
virtual AZStd::string GetName() const;
|
|
virtual AZ::u64 GetUniqueId() const;
|
|
virtual AZStd::string GetTextureFileName(MaterialMapType textureType) const;
|
|
virtual AZ::Vector3 GetDiffuseColor() const;
|
|
virtual AZ::Vector3 GetSpecularColor() const;
|
|
virtual AZ::Vector3 GetEmissiveColor() const;
|
|
virtual float GetOpacity() const;
|
|
virtual float GetShininess() const;
|
|
};
|
|
} // namespace SDKMaterial
|
|
} // namespace AZ
|