Beautify the cube dataset
Using the vector dataset plug-in asset function, you can quickly set the style of 3D line data, so as to achieve the beautification of 3D line data sets.
- Run the SuperMap Editor tool controls to create a new spherical/planar scene and add 3D point, line and polygon data in UDB/UDBX format.
- After adding the data, run the current level.
- Click Data Beautification -> Asset Settings -> Vector Dataset , select the corresponding 3D line layer in the Vector Dataset Plug-in Asset Settings panel, and select the appropriate associated field. Select Asset Loft for Asset Type.
- In the asset library of Unreal Engine, select the corresponding object (static mesh body with material effect), right-click, select Copy Reference from the menu, and paste the copied path into the corresponding attribute box in the attribute table of the vector dataset plug-in asset setting panel.
- Click OK to see that the material object has been applied in the scene.
- Repeat steps 3-4 if you need to change the file path of the referenced material.
- After setting, the association between attribute fields and Unreal Engine materials will be recorded in the Project/Content/SceneInfos/Level/SceneInfos.json file corresponding to the scene. The relevant labels are as follows:
- ResoureConditions: Records the attribute fields and attribute values of the vector dataset.
- ResourceName: Records the Unreal Engine material object associated with this attribute value object.
- Caption, DataSetAlias, etc. record the name, data type and other information of vector dataset.
Set the break line effect for the 3D line dataset as shown in the following figure.