Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnlyExp > API/Plugins/MeshModelingToolsEditorOnlyExp/SkeletalMesh
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInteractiveTool
- USingleSelectionTool
- USkeletonEditingTool
References
| Module | MeshModelingToolsEditorOnlyExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnlyExp/Public/SkeletalMesh/SkeletonEditingTool.h |
| Include | #include "SkeletalMesh/SkeletonEditingTool.h" |
Syntax
UCLASS&40;&41;
class USkeletonEditingTool :
public USingleSelectionTool,
public IClickDragBehaviorTarget,
public ISkeletalMeshEditingInterface
Remarks
USkeletonEditingTool is a tool to edit a the ReferenceSkeleton of a SkeletalMesh (target) Changed are actually commit to the SkeletalMesh and it's mesh description on Accept.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< SkeletonEditingTool::FRefSkeletonChange > | ActiveChange | ||
| TWeakObjectPtr< USkeletalMeshEditorContextObjectBase > | EditorContext | ||
| TWeakObjectPtr< USkeletalMeshGizmoContextObjectBase > | GizmoContext | Gizmo | |
| TObjectPtr< USkeletalMeshGizmoWrapperBase > | GizmoWrapper | ||
| TObjectPtr< USingleClickInputBehavior > | LeftClickBehavior | ||
| TObjectPtr< UMirroringProperties > | MirroringProperties | ||
| TObjectPtr< USkeletonModifier > | Modifier | ||
| EEditingOperation | Operation | ||
| TObjectPtr< UOrientingProperties > | OrientingProperties | ||
| TObjectPtr< UPreviewMesh > | PreviewMesh | ||
| TObjectPtr< UProjectionProperties > | ProjectionProperties | ||
| TObjectPtr< USkeletonEditingProperties > | Properties | ||
| TWeakObjectPtr< UWorld > | TargetWorld | ||
| TWeakObjectPtr< UGizmoViewContext > | ViewContext |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginChange () |
Ref skeleton transactions | |
| void | CancelChange () |
||
| void | Modifier functions. | ||
| void | EndChange () |
||
| EEditingOperation | GetOperation () |
||
| const TArray< FName > & | GetSelection () |
||
| const FTransform & | GetTransform
(
const FName InBoneName, |
||
| void | Init
(
const FToolBuilderState& InSceneState |
USkeletonEditingTool | |
| void | MirrorBones () |
Modifier functions. | |
| void | MoveBones () |
||
| void | OrientBones () |
||
| void | ParentBones
(
const FName& InParentName |
||
| void | RemoveBones () |
||
| void | RenameBones () |
||
| void | SetOperation
(
const EEditingOperation InOperation, |
||
| void | SetTransforms
(
const TArray< FName >& InBones, |
||
| void | |||
| void | UpdateGizmo () |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | CanAccept () |
||
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | RegisterActions
(
FInteractiveToolActionSet& ActionSet |
Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction. | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Called by ToolManager to shut down the Tool |
Overridden from IInteractiveToolCameraFocusAPI
| Type | Name | Description | |
|---|---|---|---|
| FBox |
Overridden from IClickDragBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
Test if target can begin click-drag interaction at this point | |
| void | OnClickDrag
(
const FInputDeviceRay& DragPos |
Notify Target that input position has changed | |
| void | OnClickPress
(
const FInputDeviceRay& PressPos |
Notify Target that click press ocurred | |
| void | OnClickRelease
(
const FInputDeviceRay& ReleasePos |
Notify Target that click release occurred | |
| void | Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) |
Overridden from IModifierToggleBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| void | OnUpdateModifierState
(
int ModifierID, |
Notify target of current modifier state |
Overridden from ISkeletalMeshEditingInterface
| Type | Name | Description | |
|---|---|---|---|
| TWeakObjectPtr< USkeletonModifier > | GetModifier () |
||
| TArray< FName > | |||
| void | HandleSkeletalMeshModified
(
const TArray< FName >& BoneNames, |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EBoneSelectionMode |
Constants
| Name | Description |
|---|---|
| AddToSelectionModifier | Flags used to identify behavior modifier keys/buttons |
| ToggleSelectionModifier |