Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArrayItem

Helper class for working with arrays when loading the glTF asset

Hierarchy

  • ArrayItem

Index

Methods

Methods

Static AssignSearch playground for Assign

  • Assign an index field to each item of the given array.

    Parameters

    Returns void

Static GetSearch playground for Get

  • Get<T>(context: string, array: ArrayLike<T> | undefined, index: number | undefined): T
  • Gets an item from the given array.

    Type parameters

    • T

    Parameters

    • context: string

      The context when loading the asset

    • array: ArrayLike<T> | undefined

      The array to get the item from

    • index: number | undefined

      The index to the array

    Returns T

    The array item

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method