Returns the level of detail (LOD) of a scene object.
Syntax
int4 ST_LOD(scene sceneObject);Parameters
| Parameter | Type | Description |
|---|---|---|
sceneObject | scene | The scene object to query. Construct this value using ST_sceneFromText. |
Description
ST_LOD returns the LOD of an object.
Examples
The following examples use ST_sceneFromText to construct a scene object inline and pass it to ST_LOD.
Return the LOD of a glTF scene object with lod set to 1:
SELECT ST_LOD(ST_sceneFromText('{"type": "gltf", "lod": 1, "content": {"accessors": ...}}'));Result:
st_lod
--------
1该文章对您有帮助吗?