OptionallayerThe layer the object is drawn in (see MeshLayer); default MeshLayer.Layer1.
Name of the object.
OptionalparentThe uuid of its parent's input in the file's hierarchy (e.g. a glTF node's parent node);
absent at the top. A reader gives the parents before their children.
E.g. one per material of an IFC element. At least one for MeshController.addMeshes; the
MeshLoader gives an object without to its ObjectImportController only (onObjectRead).
OptionaltagA label of the application for the object, e.g. its representation (3D, 2D) when an object of the application has several, each an object of the controller. Plain text, sent from the reader's worker.
OptionaluserData of the object in its file (e.g. a glTF node's extras), for the ObjectImportController:
plain data (sent from the reader's worker), not kept by the controller.
Identifies the object for the application (e.g. its id in its file).
One object to add to the MeshController: the engine's input format. Each source format (.mgeom, three.js...) is converted to
InputMeshoutside the engine. The controller copies what it needs: an InputMesh and its arrays can be reused once added. Itsuuid,name,tagandparentUuidare the application's: the controller keeps none of them (an object is its index), they name the object in the errors and theMeshLoader's report, and reach theObjectImportController.