Training Stream - Extending the Editor - Jan. 20th, 2015

[QUOTE=Jared ;208537]

  1. Any chance you can show us how to edit geometry through code? A simple tute on how to move a single vertex?

I don’t think there’s a high-level API wrapper for it, but I’d start by following into FMeshUtilities::BuildStaticMesh or manipulate the source model and call UStaticMesh::Build (IIRC this is where Simplygon hooks in). If you’re doing 100% procedural stuff check out UCustomMeshComponent instead.

Sure, just make the C++ class visible in your Public or Classes folder, and then include it in your project. You will need to depend on the plugin in your game Build.cs as well (this might happen automatically for Game plugins, I don’t remember for sure).

Cheers,