---
title: "SourceOrientation | 3D JS | JavaScript maps SDK"
description: "Documentation for 3D objects"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Enumeration SourceOrientation

Going from the original 3D space a mesh was created in, to the map 3D space (Z up, right hand)

-   Defined in [src/types.ts:13](https://github.com/maptiler/maptiler-3d-js/blob/d1455de4164bd626ae604b498181010b0ec9ac4b/src/types.ts#L13)

##### Index

### Enumeration Members

[X\_UP](#x_up) [Y\_UP](#y_up) [Z\_UP](#z_up)

## Enumeration Members

### X\_UP[](#x_up)

X\_UP: 1

The mesh was originaly created in a 3D space that uses the x axis as the up direction

-   Defined in [src/types.ts:17](https://github.com/maptiler/maptiler-3d-js/blob/d1455de4164bd626ae604b498181010b0ec9ac4b/src/types.ts#L17)

### Y\_UP[](#y_up)

Y\_UP: 2

The mesh was originaly created in a 3D space that uses the Y axis as the up direction

-   Defined in [src/types.ts:22](https://github.com/maptiler/maptiler-3d-js/blob/d1455de4164bd626ae604b498181010b0ec9ac4b/src/types.ts#L22)

### Z\_UP[](#z_up)

Z\_UP: 3

The mesh was originaly created in a 3D space that uses the Z axis as the up direction

-   Defined in [src/types.ts:27](https://github.com/maptiler/maptiler-3d-js/blob/d1455de4164bd626ae604b498181010b0ec9ac4b/src/types.ts#L27)
