Class TransformObjectsAction
Implementation of IUndoAction used to transform a selection of FlaxEditor.SceneGraph.SceneGraphNode. The same logic could be achieved using FlaxEditor.UndoMultiBlock but it would be slower. Since we use this kind of action very ofter (for FlaxEditor.Gizmo.TransformGizmo operations) it's better to provide faster implementation.
Namespace: FlaxEditor
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class TransformObjectsAction : UndoActionBase<TransformObjectsAction.DataStorage>, IUndoAction, IHistoryAction, ISceneEditAction
Properties
ActionString
Name or key of performed action
Declaration
public override string ActionString { get; }
Property Value
System.String
|
Overrides
FlaxEditor.UndoActionBase<FlaxEditor.TransformObjectsAction.DataStorage>.ActionString
Methods
Do()
Performs this action.
Declaration
public override void Do()
Overrides
FlaxEditor.UndoActionBase<FlaxEditor.TransformObjectsAction.DataStorage>.Do()
Undo()
Undoes this action.
Declaration
public override void Undo()
Overrides
FlaxEditor.UndoActionBase<FlaxEditor.TransformObjectsAction.DataStorage>.Undo()
Explicit Interface Implementations
ISceneEditAction.MarkSceneEdited(SceneModule)
Declaration
void ISceneEditAction.MarkSceneEdited(SceneModule sceneModule)
Parameters
SceneModule
sceneModule
|