docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MeshPrimitive

    Inheritance
    object
    MeshPrimitiveBase
    MeshPrimitiveBase<MeshPrimitiveExtensions>
    MeshPrimitive
    Implements
    ICloneable
    IJsonObject
    Inherited Members
    MeshPrimitiveBase<MeshPrimitiveExtensions>.extensions
    MeshPrimitiveBase<MeshPrimitiveExtensions>.Extensions
    MeshPrimitiveBase.attributes
    MeshPrimitiveBase.indices
    MeshPrimitiveBase.material
    MeshPrimitiveBase.mode
    MeshPrimitiveBase.targets
    MeshPrimitiveBase.IsDracoCompressed
    MeshPrimitiveBase.Equals(object)
    MeshPrimitiveBase.GetHashCode()
    MeshPrimitiveBase.Clone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: GLTFast.Newtonsoft.Schema
    Assembly: solution.dll
    Syntax
    public class MeshPrimitive : MeshPrimitiveBase<MeshPrimitiveExtensions>, ICloneable, IJsonObject

    Constructors

    MeshPrimitive()

    Declaration
    [Preserve]
    public MeshPrimitive()

    Fields

    extras

    Declaration
    public UnclassifiedData extras
    Field Value
    Type Description
    UnclassifiedData

    Methods

    TryGetValue<T>(string, out T)

    Tries find a property of a key and cast its value to type T.

    Declaration
    public bool TryGetValue<T>(string key, out T value)
    Parameters
    Type Name Description
    string key

    Property key

    T value

    Resulting value

    Returns
    Type Description
    bool

    True if the property was found and successfully cast to type T. False otherwise.

    Type Parameters
    Name Description
    T

    Desired target type

    Implements

    ICloneable
    IJsonObject
    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)