Skip to content

Types

ScrollSceneSetupContext<S> ​

Defined in: use-scroll-scene.ts:15

What a useScrollScene setup function is given.

Type Parameters ​

Type ParameterDefault type
S extends ScrollSceneScrollScene

Properties ​

PropertyTypeDescription
glWTCGLRenderingContextWebGL context.
rendererScrollRendererThe renderer from the nearest ScrollRendererProvider.
scrollSceneSThe scene, constructed and ready: attach meshes to scrollScene.scene and spread scrollScene.uniforms into your programs.