Spatial text
Function Description
You can place text on the 3D coordinate point in the 3D model space of the view throughspace text ( PanoTextLabel ).
Effect Display

Use Instructions
Use space text capability, you need to provide the text content you want to show. You need to place the text at the three-dimensional coordinates of the text.
Field description
PanoTextLabelData 数据类型
/**
* PanoTextLabel Label
*/
export type PanoTextLabelData = {
text: string; //text content to be displayed in space.
vertex: Vertex; // 3D coordinates of the display text in space.
fontSize?: number; //optional field, set text font size, default is 16px.
};
空间文本类型数据样例
{
"uuid": "eb7b3d3e-5f13-423d-8270-c4bfa4201d0b",
"type": "PanoTextLabel",
"start": 71200,
"end": 73200,
"parsed": false,
"data": {
"text": "The gear position is automatically adjusted according to the smoke volume",
"vertex": {
"x": -2.1652547611365116,
"y": 1.612348936240625,
"z": -8.787925732476422
},
"fontSize": 14
}
}