Skip to content

NodeTexture

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/mobius/blob/main/js/NodeTexture.ts for the most up-to-date information.

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.