---
Product: Aspose.3D
Platform: typescript
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/typescript/GltfPrimitive
---

# GltfPrimitive

## Overview

`GltfPrimitive` is a interface in Aspose.3D FOSS for Typescript.

GltfPrimitive.attributes maps attribute names to accessor indices for the primitive.

Properties: `attributes`, `indices`, `material`, `mode`.

## Description

`GltfPrimitive` is an interface in Aspose.3D FOSS for TypeScript that defines a contract with 0 methods. Classes that implement this interface must provide concrete implementations for all declared operations.

Core capabilities include: `: { [key: string]: number }`; `: number`; `: number`. These operations enable developers to integrate gltfprimitive functionality directly into TypeScript applications.

The class also provides the `attributes` property (gets the attributes), the `indices` property (gets the indices), the `material` property (gets the material).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `attributes` | `: { [key: string]: number }` | Read | Gets the attributes. |
| `indices` | `: number` | Read | Gets the indices. |
| `material` | `: number` | Read | Gets the material. |
| `mode` | `: number` | Read | Gets the mode. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)