This topic describes the ST_Type function. This function returns the storage type of the scene object.
Syntax
cstring ST_Type(scene sceneObject);Parameters
| Parameter | Description |
|---|---|
| sceneObject | The scene object. |
Description
This function returns the storage type of the scene object. Valid values: gltf and osg.
Examples
select ST_Type(ST_sceneFromText('{"type" : "gltf", "lod" : 1 , "content" : {"accessors":...}}'));
--------
gltf