docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GltfUnlitMaterialExporter

    Converts Unity Materials that use a glTFast shader to glTF materials

    Inheritance
    object
    GltfUnlitMaterialExporter
    Implements
    IMaterialExport
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: GLTFast.Export
    Assembly: glTFast.Export.dll
    Syntax
    public class GltfUnlitMaterialExporter : IMaterialExport

    Methods

    ConvertMaterial(Material, out Material, IGltfWritable, ICodeLogger)

    Declaration
    public bool ConvertMaterial(Material unityMaterial, out Schema.Material material, IGltfWritable gltf, ICodeLogger logger)
    Parameters
    Type Name Description
    Material unityMaterial
    Material material
    IGltfWritable gltf
    ICodeLogger logger
    Returns
    Type Description
    bool

    Implements

    IMaterialExport
    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)