pyvista_wasm.examples.CubeMap#
- class pyvista_wasm.examples.CubeMap(posx: str, negx: str, posy: str, negy: str, posz: str, negz: str)#
Bases:
objectCubemap texture holding six face image URLs.
- Parameters:
posx (str) – URL of the positive-X face image.
negx (str) – URL of the negative-X face image.
posy (str) – URL of the positive-Y face image.
negy (str) – URL of the negative-Y face image.
posz (str) – URL of the positive-Z face image.
negz (str) – URL of the negative-Z face image.
Examples
>>> from pyvista_wasm import examples >>> cubemap = examples.download_sky_box_cube_map() >>> type(cubemap) <class 'pyvista_wasm.examples.CubeMap'>
- __init__(posx: str, negx: str, posy: str, negy: str, posz: str, negz: str) None#
Initialize a cubemap with six face URLs.
Methods
__init__(posx, negx, posy, negy, posz, negz)Initialize a cubemap with six face URLs.
Return self for API compatibility with PyVista.
Attributes
Return face URLs in the order [+X, -X, +Y, -Y, +Z, -Z].
- property face_urls: list[str]#
Return face URLs in the order [+X, -X, +Y, -Y, +Z, -Z].