Essential component for general mesh vertex editing at runtime (Non-VR). Required component: MD_MeshProEditor.
Read more here (Online documentation slide)There are two modes of editing MeshProEditor objects at runtime:
Axis &
Non-Axis mode.
Axis mode allows you to select/deselect specific points and use the Axis handle to move up/down/right/left/forward/backward in a world space.
This option is great for precise mesh editing at runtime. This option works only for PCs with mouse.
Non-Axis mode allows you to drag/drop/pull/push specific points in a world space. Works for any platform (PC, Mobile).
The input is not handled by default, as the Unity Engine has many options for handling input and controls in general.
MD-Package components that contain some input features consist of 'Input Hookup' properties that handle the input in a generic way.
You can set these properties from your own input system. The component will display more information about the input setup, so please follow up on this information.
You can find all the input-hookup properties below.
The following paragraphs contain MeshEditorRuntime used in a practical example with Unity's legacy Input System.
Create a mesh editor runtime via script and edit specific mesh with MeshProEditor.