Capítulo 446 de 859

Chapter 446: ParallaxBarrierPassNode

Core Idea

A render pass node that creates a parallax barrier effect.

Key Concepts

  • isParallaxBarrierPassNode : boolean (readonly): This flag can be used for type testing.

Code Examples

import { parallaxBarrierPass } from 'three/addons/tsl/display/ParallaxBarrierPassNode.js';
  • What it demonstrates: Typical usage of ParallaxBarrierPassNode.

Reference Tables

Constructor

Signature
new ParallaxBarrierPassNode( scene : Scene, camera : Camera )

Properties

PropertyDescription
.isParallaxBarrierPassNode : boolean (readonly)This flag can be used for type testing.

Methods

MethodDescription
.setup( builder : NodeBuilder ) : PassTextureNodeThis method is used to setup the effect's TSL code.

Key Takeaways

  1. ParallaxBarrierPassNode extends: EventDispatcher → Node → TempNode → PassNode → StereoCompositePassNode
  2. Most relevant properties: isParallaxBarrierPassNode.
  3. Key methods: setup.

Connects To