Last updated

API / geotoolkit3d / data / loader / glTFType

Module: glTFType

Table of contents

Enumerations
Type Aliases
Variables

Contents

Type Aliases

AssetType

Ƭ AssetType: GLTFPropertyType & { copyright?: string ; generator?: string ; minVersion?: string ; version: string }

Metadata about the glTF asset.


GLTFPropertyType

Ƭ GLTFPropertyType: Object

glTF Property

Type declaration

NameTypeDescription
extensions?Record<string, object>object with extension-specific objects.
extras?Record<string, any>Application-specific data. Although 'extras' MAY have any type, it is common for applications to store and access custom data as key/value pairs. Therefore, 'extras' SHOULD be a object rather than a primitive value for best portability.
Variables

ATTRIBUTES

Const ATTRIBUTES: Record<string, string>


PRIMITIVE_MODE

Const PRIMITIVE_MODE: Object

Type declaration

NameType
LINESnumber
LINE_LOOPnumber
LINE_STRIPnumber
POINTSnumber
TRIANGLESnumber
TRIANGLE_FANnumber
TRIANGLE_STRIPnumber

WEBGL_FILTERS

Const WEBGL_FILTERS: Record<number, TextureFilter>


WEBGL_TYPE_SIZES

Const WEBGL_TYPE_SIZES: Record<string, number>


WEBGL_WRAPPINGS

Const WEBGL_WRAPPINGS: Record<number, Wrapping>