ST_AsGLB

更新时间:
复制 MD 格式

Converts a scene object or OpenSceneGraph (OSG) object to a GLB binary object.

Syntax

bytea ST_AsGLB(scene sceneObject);

Parameters

ParameterDescription
sceneObjectThe scene object to convert.

Examples

SELECT ST_AsGLB(ST_sceneFromText('{"type" : "gltf", "content" : {"accessors":...}}'));

Output:

\x676c544602...