textures#
- class CanvasTexture(*args: Any, id: ID | None = None, **kwargs: Any)[source]#
- code#
A snippet of JavaScript code to execute in the browser.
- class ImageURLTexture(*args: Any, id: ID | None = None, **kwargs: Any)[source]#
- url#
A URL to a drawable resource like image, video, etc.
If provided with a file path, the file will be encoded using
data:protocol (utf-8 encoding for*.svgand base64 for*.pngand other binary formats).NumPy 2D arrays are also supported and use
data:encoding as well.