API Reference

Class List

Morph

Contains a list of MorphTarget, a combined delta AABB and some associated data.

Summary

Properties

preferHighPrecision
targets

The array of morph targets.

Methods

destroy

Frees video memory allocated by this object.

Details

Constructor

Morph(targets, graphicsDevice, [options])

Create a new Morph instance.

Parameters

targetsMorphTarget[]

A list of morph targets.

graphicsDeviceGraphicsDevice

The graphics device used to manage this morph target.

optionsobject

Object for passing optional arguments.

options.preferHighPrecisionboolean

True if high precision storage should be prefered. This is faster to create and allows higher precision, but takes more memory and might be slower to render. Defaults to false.

Properties

booleanpreferHighPrecision

MorphTarget[]targets

The array of morph targets.

Methods

destroy()

Frees video memory allocated by this object.