update method
dynamic
update(
- dynamic object,
- dynamic camera, [
- dynamic lightNode
Implementation
update(object, camera, [lightNode]) {
var renderer = this.renderer;
var material = object.material;
var nodeBuilder = this.get(object, lightNode);
var nodeFrame = this.nodeFrame;
nodeFrame.material = material;
nodeFrame.camera = camera;
nodeFrame.object = object;
nodeFrame.renderer = renderer;
for (var node in nodeBuilder.updateNodes) {
nodeFrame.updateNode(node);
}
}