Navigation
API > API/Plugins > API/Plugins/ModelingComponentsEditorOnly > API/Plugins/ModelingComponentsEditorOnly/Selection
Inheritance Hierarchy
- IGeometrySelector
- FBaseDynamicMeshSelector
- FStaticMeshSelector
References
| Module | ModelingComponentsEditorOnly |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/Selection/StaticMeshSelector.h |
| Include | #include "Selection/StaticMeshSelector.h" |
Syntax
class FStaticMeshSelector : public FBaseDynamicMeshSelector
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FBasicDynamicMeshSelectionTransformer > | ActiveTransformer | ||
| TStrongObjectPtr< UDynamicMesh > | LocalTargetMesh | TODO: this is not a great design, it would be better if something external could own this mesh... | |
| UStaticMesh * | StaticMesh | ||
| FDelegateHandle | StaticMesh_OnMeshChangedHandle | ||
| UStaticMeshComponent * | StaticMeshComponent |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| bool | Initialize
(
FGeometryIdentifier SourceGeometryIdentifier |
||
| void | |||
| void | SetAssetUnlockedOnCreation
(
UStaticMesh* StaticMesh |
Overridden from FBaseDynamicMeshSelector
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateAfterGeometryEdit
(
IToolsContextTransactionsAPI* TransactionsAPI, |
UpdateAfterGeometryEdit should be called after editing the UDynamicMesh owned by the Selector (TargetMesh). |
Overridden from IGeometrySelector
| Type | Name | Description | |
|---|---|---|---|
| IGeometrySelectionTransformer * | InitializeTransformation
(
const FGeometrySelection& Selection |
Create and initialize a IGeometrySelectionTransformer for the provided Selection. | |
| bool | IsLockable () |
Virtual bool Sleep(); virtual bool Restore(); | |
| bool | IsLocked () |
||
| void | SetLockedState
(
bool bLocked |
||
| void | Shutdown () |
IGeometrySelector API implementation | |
| void | ShutdownTransformation
(
IGeometrySelectionTransformer* Transformer |
Shutdown an active IGeometrySelectionTransformer. | |
| bool | Disable sleep on StaticMesh Selector until we can properly track changes... |