How to use the RenderTarget function from three

Find comprehensive JavaScript three.RenderTarget code examples handpicked from public code repositorys.

206
207
208
209
210
211
212
213
214
215
  this.renderViewToRenderTarget(view, this.fullSizeRenderTarget, zone);
  this.renderer.readRenderTargetPixels(this.fullSizeRenderTarget, zone.x, this.height - (zone.y + zone.height), zone.width, zone.height, zone.buffer);
  return zone.buffer;
}
/**
 * Render view to a THREE.RenderTarget.
 *
 * @param {View} view - The view to render
 * @param {THREE.RenderTarget} [target] - destination render target. Default value: full size render target owned by c3DEngine.
 * @param {object} [zone] - partial zone to render (zone x/y uses view coordinates) Note: target must contain complete zone
fork icon0
star icon1
watch icon0

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)