Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp > API/Plugins/MeshModelingToolsEditorOnlyExp/SkeletalMesh
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UWeightToolMeshSelector
References
| Module | MeshModelingToolsEditorOnlyExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/SkeletalMesh/SkinWeightsPaintTool.h |
| Include | #include "SkeletalMesh/SkinWeightsPaintTool.h" |
Syntax
UCLASS ()
class UWeightToolMeshSelector : public UObject
Remarks
This class wraps the all the components to enable selection on a single mesh in the skin weights tool this allows us to make selections on multiple different meshes NOTE: at some point we may want to do component selections on multiple meshes in any/all viewports at which time this class should be centralized and renamed to UMeshSelector or something like that. But there will need to be some sort of centralized facility to manage that and make sure it interacts nicely with other tools.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DrawHUD
(
FCanvas* Canvas, |
Viewport | |
| void | |||
| void | GetSelectedTriangles
(
TArray< int32 >& OutTriangleIndices |
||
| const TArray< int32 > & | Get a list of currently selected vertices (converting edges and faces to vertices) | ||
| UPolygonSelectionMechanic * | Get access to the selection mechanic | ||
| void | Edit selection | ||
| void | InitialSetup
(
UWorld* InWorld, |
Must be called during the Setup of the parent tool | |
| bool | |||
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
||
| void | SelectBorder () |
||
| void | SetComponentSelectionMode
(
EComponentSelectionMode InMode |
||
| void | SetIsEnabled
(
bool bIsEnabled |
||
| void | SetMesh
(
UPreviewMesh* InMesh, |
Must be called AFTER InitialSetup, and any time the mesh is changed passing in a null preview mesh will disable the selector | |
| void | SetTransform
(
const FTransform3d& InTargetTransform |
||
| void | |||
| void | Shutdown () |
||
| void |