Skip to content

Mesh

Overview

Represents mesh data that can be handled in different ways.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class Mesh

import { Mesh } from 'scenerystack/alpenglow';

Constructor

new Mesh( name : string | null )

Instance Methods

Instance Properties

vertices : Vector3[]

(readonly)

uvs : Vector3[]

(readonly)

normals : Vector3[]

(readonly)

faces : MeshFace[]

(readonly)

lines : MeshLine[]

(readonly)

Static Methods

loadOBJ( str : string ) : Mesh[]

Source Code

See the source for Mesh.ts in the alpenglow repository.