docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StandardMaterialExport

    Converts URP/HDRP Lit and Built-In Standard shader based materials to glTF materials

    Inheritance
    object
    MaterialExportBase
    StandardMaterialExport
    Implements
    IMaterialExport
    Inherited Members
    MaterialExportBase.BaseColorProperty
    MaterialExportBase.MainTexProperty
    MaterialExportBase.ColorProperty
    MaterialExportBase.MetallicProperty
    MaterialExportBase.SmoothnessProperty
    MaterialExportBase.CutoffProperty
    MaterialExportBase.SetAlphaModeAndCutoff(Material, Material)
    MaterialExportBase.IsDoubleSided(Material, int)
    MaterialExportBase.IsUnlit(Material)
    MaterialExportBase.ExportUnlit(Material, Material, int, IGltfWritable, ICodeLogger)
    MaterialExportBase.GetUnlitColor(Material, out Color)
    MaterialExportBase.ExportTextureInfo(Texture, IGltfWritable, ImageFormat)
    MaterialExportBase.ExportNormalTextureInfo(Texture, Material, IGltfWritable, int)
    MaterialExportBase.AddImageExport(IGltfWritable, ImageExportBase, out int)
    MaterialExportBase.ExportTextureTransform(TextureInfoBase, Material, int, IGltfWritable)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Export
    Assembly: solution.dll
    Syntax
    public class StandardMaterialExport : MaterialExportBase, IMaterialExport

    Methods

    Name Description
    ConvertMaterial(Material, out Material, IGltfWritable, ICodeLogger)

    Converts a Unity material to a glTF material.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)