ST_Type

更新时间:
复制 MD 格式

Returns the storage type of a scene object as a string: 'gltf' (GL Transmission Format) or 'osg' (OpenSceneGraph).

Syntax

cstring ST_Type(scene sceneObject);

Parameters

ParameterDescription
sceneObjectThe scene object to inspect.

Examples

Return `'gltf'` for a glTF scene object:

SELECT ST_Type(ST_sceneFromText('{"type" : "gltf", "lod" : 1 , "content" : {"accessors":...}}'));
--------
gltf