Capítulo 436 de 859

Chapter 436: ModelNode

Core Idea

This type of node is a specialized version of Object3DNode with larger set of model related metrics. Unlike Object3DNode, ModelNode extracts the reference to the 3D object from the current node frame state.

Reference Tables

Constructor

Signature
`new ModelNode( scope : 'position'

Methods

MethodDescription
.update( frame : NodeFrame )Extracts the model reference from the frame state and then updates the uniform value depending on the scope.

Key Takeaways

  1. ModelNode extends: EventDispatcher → Node → Object3DNode
  2. Key methods: update.

Connects To