The viewer can now load 3d models which contain instanced meshes (also known as linked duplicates).
See Babylon.js Docs and InstancedMesh class for more details.
Whether a property is read only or not can be found out by looking at the Babylon.js docs of the InstancedMesh class. E.g. InstancedMesh.material only shows a getter
, whilst AbstractMesh.material shows a getter
& a setter
which means that the former is read only:
The viewer will inform you via an exception in the command line when you try to manipulate read only properties of the instanced mesh via the viewer API (commitParameters
etc.).
Generated using TypeDoc