Skip to content

NodeTexture

Overview

Allows turning a Node into an updatable three.js texture.

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

Class NodeTexture

import { NodeTexture } from 'scenerystack/mobius';

Constructor

new NodeTexture( node : Node, providedOptions? : NodeTextureOptions )

Instance Methods

update()

Updates the node's appearance in the texture.

dispose()

Releases references.

Source Code

See the source for NodeTexture.ts in the mobius repository.