Class EditFoliageGizmo
Gizmo for editing foliage instances. Managed by the EditFoliageGizmoMode.
Inheritance
System.Object
FlaxEditor.Gizmo.GizmoBase
FlaxEditor.Gizmo.TransformGizmoBase
EditFoliageGizmo
Namespace: FlaxEditor.Tools.Foliage
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class EditFoliageGizmo : TransformGizmoBase
Constructors
EditFoliageGizmo(IGizmoOwner, EditFoliageGizmoMode)
Initializes a new instance of the EditFoliageGizmo class.
Declaration
public EditFoliageGizmo(IGizmoOwner owner, EditFoliageGizmoMode mode)
Parameters
FlaxEditor.Gizmo.IGizmoOwner
owner
The owner. |
EditFoliageGizmoMode
mode
The mode. |
Fields
GizmoMode
The parent mode.
Declaration
public readonly EditFoliageGizmoMode GizmoMode
Field Value
EditFoliageGizmoMode
|
Properties
FocusBounds
Declaration
public override BoundingSphere FocusBounds { get; }
Property Value
BoundingSphere
|
Overrides
FlaxEditor.Gizmo.GizmoBase.FocusBounds
SelectionCount
Declaration
protected override int SelectionCount { get; }
Property Value
System.Int32
|
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.SelectionCount
Methods
Draw(ref RenderContext)
Declaration
public override void Draw(ref RenderContext renderContext)
Parameters
RenderContext
renderContext
|
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.Draw(FlaxEngine.RenderContext)
GetSelectedObject(Int32)
Declaration
protected override SceneGraphNode GetSelectedObject(int index)
Parameters
System.Int32
index
|
Returns
FlaxEditor.SceneGraph.SceneGraphNode
|
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.GetSelectedObject(System.Int32)
GetSelectedObjectsBounds(out BoundingBox, out Boolean)
Declaration
protected override void GetSelectedObjectsBounds(out BoundingBox bounds, out bool navigationDirty)
Parameters
BoundingBox
bounds
|
System.Boolean
navigationDirty
|
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.GetSelectedObjectsBounds(FlaxEngine.BoundingBox, System.Boolean)
GetSelectedTransform(Int32)
Declaration
protected override Transform GetSelectedTransform(int index)
Parameters
System.Int32
index
|
Returns
Transform
|
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.GetSelectedTransform(System.Int32)
IsSelected(SceneGraphNode)
Declaration
protected override bool IsSelected(SceneGraphNode obj)
Parameters
FlaxEditor.SceneGraph.SceneGraphNode
obj
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.IsSelected(FlaxEditor.SceneGraph.SceneGraphNode)
OnActivated()
Declaration
public override void OnActivated()
Overrides
FlaxEditor.Gizmo.GizmoBase.OnActivated()
OnApplyTransformation(ref Vector3, ref Quaternion, ref Vector3)
Declaration
protected override void OnApplyTransformation(ref Vector3 translationDelta, ref Quaternion rotationDelta, ref Vector3 scaleDelta)
Parameters
Vector3
translationDelta
|
Quaternion
rotationDelta
|
Vector3
scaleDelta
|
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.OnApplyTransformation(FlaxEngine.Vector3, FlaxEngine.Quaternion, FlaxEngine.Vector3)
OnDeactivated()
Declaration
public override void OnDeactivated()
Overrides
FlaxEditor.Gizmo.GizmoBase.OnDeactivated()
OnDuplicate()
Declaration
protected override void OnDuplicate()
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.OnDuplicate()
OnEndTransforming()
Declaration
protected override void OnEndTransforming()
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.OnEndTransforming()
OnStartTransforming()
Declaration
protected override void OnStartTransforming()
Overrides
FlaxEditor.Gizmo.TransformGizmoBase.OnStartTransforming()
Pick()
Declaration
public override void Pick()
Overrides
FlaxEditor.Gizmo.GizmoBase.Pick()
SnapToGround()
Declaration
public override void SnapToGround()
Overrides
FlaxEditor.Gizmo.GizmoBase.SnapToGround()
Extension Methods
See Also
FlaxEditor.Gizmo.TransformGizmoBase