Constructs a scene object from a JSON string.
Syntax
scene ST_SceneFromText(text sceneText);Parameters
| Parameter | Description |
|---|---|
| sceneText | The scene object in text representation. |
Description
ST_SceneFromText parses a JSON string and returns a scene object. The input must be a valid JSON string.
Examples
SELECT ST_AsText(ST_sceneFromText('{"type" : "gltf", "content" : {"accessors":...}}'));Output:
{"type" : "gltf", "content" : {"accessors":...}}该文章对您有帮助吗?