# AssetMap

Interface · category: Other

Source: https://github.com/playcanvas/engine/blob/f059dc005842f76e052cdf44d8370c8c7ec475ac/src/framework/asset/asset.js#L65

## Properties

### animation

```ts
animation: Animation | AnimTrack
```

An animation: an [AnimTrack](https://api.playcanvas.com/engine/classes/AnimTrack.md) when loaded from
a glTF or GLB file, or a legacy [Animation](https://api.playcanvas.com/engine/classes/Animation.md) when loaded from JSON.

### animclip

```ts
animclip: AnimTrack
```

An animation clip.

### animstategraph

```ts
animstategraph: AnimStateGraph
```

An animation state graph.

### audio

```ts
audio: Sound
```

A sound.

### binary

```ts
binary: ArrayBuffer
```

The raw contents of the file.

### bundle

```ts
bundle: Bundle
```

A bundle: an archive whose files back other assets.

### container

```ts
container: ContainerResource
```

The renders, materials, textures, animations and
gsplats of a glTF or GLB file.

### css

```ts
css: string
```

The CSS text.

### cubemap

```ts
cubemap: Texture | null
```

The cube map, or null when the asset provides only prefiltered
levels. [Asset#resources](https://api.playcanvas.com/engine/classes/Asset.md#resources) holds the cube map followed by its six prefiltered levels, with
null for each level the asset does not provide.

### folder

```ts
folder: null
```

Folders hold no resource.

### font

```ts
font: Font | CanvasFont
```

A [Font](https://api.playcanvas.com/engine/classes/Font.md) loaded from a font file.

### gsplat

```ts
gsplat: GSplatResourceBase | GSplatOctreeResource
```

A Gaussian splat resource, or the
octree resource of a level-of-detail splat scene.

### hierarchy

```ts
hierarchy: Entity
```

The root entity of an instantiated scene hierarchy.

### html

```ts
html: string
```

The HTML text.

### json

```ts
json: unknown
```

The parsed JSON data.

### material

```ts
material: Material
```

A material, a [StandardMaterial](https://api.playcanvas.com/engine/classes/StandardMaterial.md) unless a custom parser
creates another kind.

### model

```ts
model: Model
```

A model.

### render

```ts
render: Render
```

The meshes of one glTF mesh, created when a container asset loads.

### scene

```ts
scene: Scene
```

A scene.

### scenesettings

```ts
scenesettings: any
```

The settings block of a scene file.

### script

```ts
script: Record<string, typeof Script>
```

The script classes declared by a script file,
keyed by class name.

### shader

```ts
shader: string
```

The shader source text.

### sprite

```ts
sprite: Sprite
```

A sprite.

### template

```ts
template: Template
```

A template.

### text

```ts
text: string
```

The text of the file.

### texture

```ts
texture: Texture
```

A texture.

### textureatlas

```ts
textureatlas: TextureAtlas
```

A texture atlas.
