XII Release 0.1.0
Loading...
Searching...
No Matches
xiiModelMeshMaterial Struct Reference

Imported authoring information, independent of Editor documents and runtime material ownership. More...

#include <MeshImport.h>

Public Types

enum class  AlphaMode : xiiUInt8 { Opaque , Mask , Blend }

Public Attributes

xiiString m_sName
xiiColor m_BaseColor = xiiColor::White
xiiColor m_EmissiveColor = xiiColor::Black
float m_fMetallic = 0
float m_fRoughness = 1
float m_fOpacity = 1
 Independent opacity multiplier; glTF alpha is already in m_BaseColor.a.
float m_fAlphaCutoff = 0.5f
bool m_bTwoSided = false
AlphaMode m_AlphaMode = AlphaMode::Opaque
xiiDynamicArray< xiiModelMaterialTexture > m_Textures

Detailed Description

Imported authoring information, independent of Editor documents and runtime material ownership.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Tools/Libs/ModelImporter/MeshImport.h