Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

CaptureTextureResult

What useCaptureTexture returns.

Property Type Description
capture () => void Draws the texture again once the page settles, as after it mounts: for a scene that changed in front of a camera that did not move.
texture Texture The scene in linear light, for a material’s map or emissiveMap: the same object while the component is mounted.