docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VertexAttributeUsageExtension

    Extension methods for VertexAttribute.

    Inheritance
    object
    VertexAttributeUsageExtension
    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 static class VertexAttributeUsageExtension

    Methods

    ToVertexAttributeUsage(VertexAttribute)

    Converts a VertexAttribute to a VertexAttributeUsage mask with corresponding flag enabled.

    Declaration
    public static VertexAttributeUsage ToVertexAttributeUsage(this VertexAttribute attr)
    Parameters
    Type Name Description
    VertexAttribute attr

    Vertex attribute.

    Returns
    Type Description
    VertexAttributeUsage

    Vertex attribute mask with corresponding flag enabled.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException
    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)