Converts a scene object or OpenSceneGraph (OSG) object to a GLB binary object.
Syntax
bytea ST_AsGLB(scene sceneObject);Parameters
| Parameter | Description |
|---|---|
| sceneObject | The scene object to convert. |
Examples
SELECT ST_AsGLB(ST_sceneFromText('{"type" : "gltf", "content" : {"accessors":...}}'));Output:
\x676c544602...该文章对您有帮助吗?