API Reference#

Complete reference for all public functions, types, and exceptions.

polyxios

polyxios.SceneData(meshes, ...], nodes, ...)

Multi-mesh scene with hierarchy, materials, and texture images.

polyxios.SceneNode(name, mesh, children, ...)

One node in the scene graph.

polyxios.SceneMaterial(name, base_color, ...)

PBR metallic-roughness material.

polyxios.SceneTexture(image[, mag_filter, ...])

A texture: image index plus OpenGL sampler settings.

polyxios.SceneImage([uri, data, media_type, ...])

A texture image: external URI or embedded bytes.

polyxios.read_scene(path, *[, fmt, registry])

Read a scene-graph file and return a SceneData.

polyxios.write_scene(scene, path, *[, fmt, ...])

Write a SceneData to a scene-graph file.

polyxios.transforms

polyxios.helper

polyxios.fetcher

polyxios.validate(poly)

Check structural integrity of a PolyData.

polyxios.exceptions