1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /*
- * 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
|