{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct MeshResult | Unity glTFast | 6.0.1
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MeshResult

    This struct holds the result of a glTF to Unity mesh conversion. During an import, glTF meshes (composed of primitives) will be converted to Unity Meshes (with sub-meshes). glTF meshes and Unity Meshes do not necessarily relate one-to-one. One glTF mesh (with multiple primitives) might be converted to multiple Unity Meshes (e.g. because of incompatible vertex buffer structure).

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: GLTFast
    Assembly: solution.dll
    Syntax
    public readonly struct MeshResult

    Constructors

    Name Description
    MeshResult(int, int[], int[], Mesh)

    MeshResult Constructor

    Fields

    Name Description
    materialIndices

    glTF material index per sub-mesh

    mesh

    Converted Unity Mesh

    meshIndex

    Original glTF mesh index

    primitiveIndices

    Original glTF mesh primitive index per sub-mesh

    In This Article
    Back to top
    Copyright © 2023 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)