Unreal Engine Marketplace is moving over to Fab in mid-October. Learn more.

Widgetize3DMesh, Convert Any Mesh into A 2d Widget

Etymorph Plugins - Code Plugins - Sep 17, 2024
Not Yet Rated

Converts a 3D mesh into a 2D image, so it can be used by a widget.

  • Supported Platforms
  • Supported Engine Versions
    5.3 - 5.4
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Taking any mesh and rendering it in real time into a 2d image. This process allows us to render the mesh into a widget. Making this plugin useful for most projects that require dynamic visuals. Projects can range from navigation systems to embedded animation sequences. The plugin is created in C++ for performance. But also utilize blueprints for convenience and user simplicity.

Follow the steps to use the out of the box solution:

1) Open up a "User Widget"

2) Create "Widget_FlattenMesh" child widget

3) Inside the Detail Panel, modify "Object to Load", "Distance Capture", and "Target Mesh Materials"

- Object to Load: The target mesh to render

- Distance Capture: Where the camera will be placed when rendering, farther away will generate a smaller mesh.

- Target Mesh Materials: The Material that will be rendered onto the mesh


Do the following if the desire functionality is to rotate the mesh: 

1) Using that same "Widget_FlattenMesh" child, check the "Is Variable" inside the Details panel.

2) Open up the user widget "Graph" section

3) Inside the desire graph routine, Get the FlattenMesh Variable.

4) Call "Update Target Rotation" from that Variable, with the desire rotation.

Technical Details

Features:

  •  CPP plugin that contains a comprehensive class that handles the rendering and converting of any static mesh into a 2d image.
  •  Out of the Box Widget that handles the required business logic for updating the plugin to do the rendering. Can easily be configured, using the details page inside the editor.

Code Modules:

  •  Widgetize3dMesh Module: Runtime type

Number of Blueprints: 10 (3 BP classes,2 Static Mesh, 4 Materials, 1 Texture)

Number of C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

Documentation: Can find a guide with a step by step guide on creating and using the widget inside the plugin folder under "Docs". The file is called "Widgetize3dMeshGuide.pdf".

Example Project: NO