Converts a 3D mesh into a 2D image, so it can be used by a widget.
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.
Features:
Code Modules:
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