Returns the storage type of a scene object.
Syntax
cstring ST_Type(scene sceneObject);Parameters
| Parameter | Description |
|---|---|
sceneObject | The scene object to inspect. |
Description
ST_Type returns the storage type of the given scene object. The return value is one of:
gltf— the scene is stored in GL Transmission Format (glTF), the Khronos Group's standard format for 3D scenes and models.osg— the scene is stored in OpenSceneGraph (OSG) format.
Examples
Return the storage type of a glTF scene object:
SELECT ST_Type(ST_sceneFromText('{"type" : "gltf", "lod" : 1 , "content" : {"accessors":...}}'));Output:
gltf该文章对您有帮助吗?