Class EditFoliageGizmoMode
Foliage instances editing mode.
Inheritance
System.Object
FlaxEditor.Viewport.Modes.EditorGizmoMode
EditFoliageGizmoMode
Namespace: FlaxEditor.Tools.Foliage
Assembly: FlaxEngine.CSharp.dll
Syntax
public class EditFoliageGizmoMode : EditorGizmoMode
Constructors
EditFoliageGizmoMode()
Declaration
public EditFoliageGizmoMode()
Fields
Gizmo
SelectionOutline
The foliage editing selection outline.
Declaration
public EditFoliageSelectionOutline SelectionOutline
Field Value
FlaxEditor.Tools.Foliage.EditFoliageSelectionOutline
|
Properties
SelectedFoliage
Gets the selected foliage actor (see SceneEditingModule).
Declaration
public Foliage SelectedFoliage { get; }
Property Value
Foliage
|
SelectedInstanceIndex
The selected foliage instance index.
Declaration
public int SelectedInstanceIndex { get; set; }
Property Value
System.Int32
|
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
FlaxEditor.Viewport.Modes.EditorGizmoMode.Dispose()
Init(IGizmoOwner)
Declaration
public override void Init(IGizmoOwner owner)
Parameters
FlaxEditor.Gizmo.IGizmoOwner
owner
|
Overrides
FlaxEditor.Viewport.Modes.EditorGizmoMode.Init(FlaxEditor.Gizmo.IGizmoOwner)
OnActivated()
Declaration
public override void OnActivated()
Overrides
FlaxEditor.Viewport.Modes.EditorGizmoMode.OnActivated()
OnDeactivated()
Declaration
public override void OnDeactivated()
Overrides
FlaxEditor.Viewport.Modes.EditorGizmoMode.OnDeactivated()
Events
SelectedInstanceIndexChanged
Occurs when selected instance index gets changed.
Declaration
public event Action SelectedInstanceIndexChanged
Event Type
System.Action
|
Extension Methods
See Also
FlaxEditor.Viewport.Modes.EditorGizmoMode