Files
UnrealEngineUWP/Engine/Source/Editor/PhAT/Private/PhATActions.h
Jurre DeBaare 314b6eb8e5 FIX UE-17689 PhAT Editor Crashes Engine when Collision Changed, bone tree-view didn't get refreshed so user was able to select non-existing bones
CHANGED renamed typo in ResetBoneCollision

[CL 2605227 by Jurre DeBaare in Main branch]
2015-06-30 04:35:28 -04:00

105 lines
4.2 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/*-----------------------------------------------------------------------------
FPhATCommands
-----------------------------------------------------------------------------*/
class FPhATCommands : public TCommands<FPhATCommands>
{
public:
/** Constructor */
FPhATCommands()
: TCommands<FPhATCommands>("PhAT", NSLOCTEXT("Contexts", "PhAT", "PhAT"), NAME_None, FEditorStyle::GetStyleSetName())
{
}
/** See tooltips in cpp for documentation */
TSharedPtr<FUICommandInfo> ChangeDefaultMesh;
TSharedPtr<FUICommandInfo> ResetEntireAsset;
TSharedPtr<FUICommandInfo> ResetBoneCollision;
TSharedPtr<FUICommandInfo> ApplyPhysicalMaterial;
TSharedPtr<FUICommandInfo> EditingMode_Body;
TSharedPtr<FUICommandInfo> EditingMode_Constraint;
TSharedPtr<FUICommandInfo> Snap;
TSharedPtr<FUICommandInfo> CopyProperties;
TSharedPtr<FUICommandInfo> PasteProperties;
TSharedPtr<FUICommandInfo> InstanceProperties;
TSharedPtr<FUICommandInfo> RepeatLastSimulation;
TSharedPtr<FUICommandInfo> SimulationNormal;
TSharedPtr<FUICommandInfo> SimulationNoGravity;
TSharedPtr<FUICommandInfo> ToggleSelectedSimulation;
TSharedPtr<FUICommandInfo> MeshRenderingMode_Solid;
TSharedPtr<FUICommandInfo> MeshRenderingMode_Wireframe;
TSharedPtr<FUICommandInfo> MeshRenderingMode_None;
TSharedPtr<FUICommandInfo> CollisionRenderingMode_Solid;
TSharedPtr<FUICommandInfo> CollisionRenderingMode_Wireframe;
TSharedPtr<FUICommandInfo> CollisionRenderingMode_None;
TSharedPtr<FUICommandInfo> ConstraintRenderingMode_None;
TSharedPtr<FUICommandInfo> ConstraintRenderingMode_AllPositions;
TSharedPtr<FUICommandInfo> ConstraintRenderingMode_AllLimits;
TSharedPtr<FUICommandInfo> ShowKinematicBodies;
TSharedPtr<FUICommandInfo> DrawGroundBox;
TSharedPtr<FUICommandInfo> ToggleGraphicsHierarchy;
TSharedPtr<FUICommandInfo> ToggleBoneInfuences;
TSharedPtr<FUICommandInfo> ToggleMassProperties;
TSharedPtr<FUICommandInfo> DisableCollision;
TSharedPtr<FUICommandInfo> EnableCollision;
TSharedPtr<FUICommandInfo> WeldToBody;
TSharedPtr<FUICommandInfo> AddNewBody;
TSharedPtr<FUICommandInfo> AddSphere;
TSharedPtr<FUICommandInfo> AddSphyl;
TSharedPtr<FUICommandInfo> AddBox;
TSharedPtr<FUICommandInfo> DeletePrimitive;
TSharedPtr<FUICommandInfo> DuplicatePrimitive;
TSharedPtr<FUICommandInfo> ResetConstraint;
TSharedPtr<FUICommandInfo> SnapConstraint;
TSharedPtr<FUICommandInfo> ConvertToBallAndSocket;
TSharedPtr<FUICommandInfo> ConvertToHinge;
TSharedPtr<FUICommandInfo> ConvertToPrismatic;
TSharedPtr<FUICommandInfo> ConvertToSkeletal;
TSharedPtr<FUICommandInfo> DeleteConstraint;
TSharedPtr<FUICommandInfo> PlayAnimation;
TSharedPtr<FUICommandInfo> RecordAnimation;
TSharedPtr<FUICommandInfo> ShowSkeleton;
TSharedPtr<FUICommandInfo> MakeBodyKinematic;
TSharedPtr<FUICommandInfo> MakeBodySimulated;
TSharedPtr<FUICommandInfo> MakeBodyDefault;
TSharedPtr<FUICommandInfo> KinematicAllBodiesBelow;
TSharedPtr<FUICommandInfo> SimulatedAllBodiesBelow;
TSharedPtr<FUICommandInfo> MakeAllBodiesBelowDefault;
TSharedPtr<FUICommandInfo> DeleteBody;
TSharedPtr<FUICommandInfo> DeleteAllBodiesBelow;
TSharedPtr<FUICommandInfo> ToggleMotor;
TSharedPtr<FUICommandInfo> EnableMotorsBelow;
TSharedPtr<FUICommandInfo> DisableMotorsBelow;
TSharedPtr<FUICommandInfo> SelectAllObjects;
TSharedPtr<FUICommandInfo> HierarchyFilterAll;
TSharedPtr<FUICommandInfo> HierarchyFilterBodies;
TSharedPtr<FUICommandInfo> PerspectiveView;
TSharedPtr<FUICommandInfo> TopView;
TSharedPtr<FUICommandInfo> LeftView;
TSharedPtr<FUICommandInfo> FrontView;
TSharedPtr<FUICommandInfo> BottomView;
TSharedPtr<FUICommandInfo> RightView;
TSharedPtr<FUICommandInfo> BackView;
TSharedPtr<FUICommandInfo> Mirror;
/** Hotkey only commands */
TSharedPtr<FUICommandInfo> SelectionLock;
TSharedPtr<FUICommandInfo> DeleteSelected;
TSharedPtr<FUICommandInfo> CycleConstraintOrientation;
TSharedPtr<FUICommandInfo> CycleConstraintActive;
TSharedPtr<FUICommandInfo> ToggleSwing1;
TSharedPtr<FUICommandInfo> ToggleSwing2;
TSharedPtr<FUICommandInfo> ToggleTwist;
TSharedPtr<FUICommandInfo> FocusOnSelection;
/** Initialize commands */
virtual void RegisterCommands() override;
};