Capítulo 484 de 859
A special render pass node that renders the scene as a stereoscopic image.
import { stereoPass } from 'three/addons/tsl/display/StereoPassNode.js';
Constructor
| Signature |
|---|
new StereoPassNode( scene : Scene, camera : Camera ) |
Properties
| Property | Description |
|---|---|
.isStereoPassNode : boolean (readonly) | This flag can be used for type testing. |
.stereo : StereoCamera | The internal stereo camera that is used to render the scene. |
Methods
| Method | Description |
|---|---|
.updateBefore( frame : NodeFrame ) | This method is used to render the stereo effect once per frame. |