Search Results for

    Show / Hide Table of Contents

    Class Accessor

    Inheritance
    object
    Accessor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: glTFLoader.Schema
    Assembly: Evergine.Assets.dll
    Syntax
    public class Accessor

    Properties

    BufferView

    The index of the bufferView.

    Declaration
    [JsonProperty("bufferView")]
    public int? BufferView { get; set; }
    Property Value
    Type Description
    int?

    ByteOffset

    The offset relative to the start of the bufferView in bytes.

    Declaration
    [JsonProperty("byteOffset")]
    public int ByteOffset { get; set; }
    Property Value
    Type Description
    int

    ComponentType

    The datatype of components in the attribute.

    Declaration
    [JsonRequired]
    [JsonProperty("componentType")]
    public Accessor.ComponentTypeEnum ComponentType { get; set; }
    Property Value
    Type Description
    Accessor.ComponentTypeEnum

    Count

    The number of attributes referenced by this accessor.

    Declaration
    [JsonRequired]
    [JsonProperty("count")]
    public int Count { get; set; }
    Property Value
    Type Description
    int

    Extensions

    Dictionary object with extension-specific objects.

    Declaration
    [JsonProperty("extensions")]
    public Dictionary<string, object> Extensions { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    Extras

    Application-specific data.

    Declaration
    [JsonProperty("extras")]
    public Extras Extras { get; set; }
    Property Value
    Type Description
    Extras

    Max

    Maximum value of each component in this attribute.

    Declaration
    [JsonConverter(typeof(ArrayConverter))]
    [JsonProperty("max")]
    public float[] Max { get; set; }
    Property Value
    Type Description
    float[]

    Min

    Minimum value of each component in this attribute.

    Declaration
    [JsonConverter(typeof(ArrayConverter))]
    [JsonProperty("min")]
    public float[] Min { get; set; }
    Property Value
    Type Description
    float[]

    Name

    The user-defined name of this object.

    Declaration
    [JsonProperty("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    string

    Normalized

    Specifies whether integer data values should be normalized.

    Declaration
    [JsonProperty("normalized")]
    public bool Normalized { get; set; }
    Property Value
    Type Description
    bool

    Sparse

    Sparse storage of attributes that deviate from their initialization value.

    Declaration
    [JsonProperty("sparse")]
    public AccessorSparse Sparse { get; set; }
    Property Value
    Type Description
    AccessorSparse

    Type

    Specifies if the attribute is a scalar, vector, or matrix.

    Declaration
    [JsonConverter(typeof(StringEnumConverter))]
    [JsonRequired]
    [JsonProperty("type")]
    public Accessor.TypeEnum Type { get; set; }
    Property Value
    Type Description
    Accessor.TypeEnum

    Methods

    ShouldSerializeBufferView()

    Declaration
    public bool ShouldSerializeBufferView()
    Returns
    Type Description
    bool

    ShouldSerializeByteOffset()

    Declaration
    public bool ShouldSerializeByteOffset()
    Returns
    Type Description
    bool

    ShouldSerializeExtensions()

    Declaration
    public bool ShouldSerializeExtensions()
    Returns
    Type Description
    bool

    ShouldSerializeExtras()

    Declaration
    public bool ShouldSerializeExtras()
    Returns
    Type Description
    bool

    ShouldSerializeMax()

    Declaration
    public bool ShouldSerializeMax()
    Returns
    Type Description
    bool

    ShouldSerializeMin()

    Declaration
    public bool ShouldSerializeMin()
    Returns
    Type Description
    bool

    ShouldSerializeName()

    Declaration
    public bool ShouldSerializeName()
    Returns
    Type Description
    bool

    ShouldSerializeNormalized()

    Declaration
    public bool ShouldSerializeNormalized()
    Returns
    Type Description
    bool

    ShouldSerializeSparse()

    Declaration
    public bool ShouldSerializeSparse()
    Returns
    Type Description
    bool

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX