Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EditFoliageGizmo"/> class.
 /// </summary>
 /// <param name="owner">The owner.</param>
 /// <param name="mode">The mode.</param>
 public EditFoliageGizmo(IGizmoOwner owner, EditFoliageGizmoMode mode)
     : base(owner)
 {
     GizmoMode = mode;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GizmoBase"/> class.
 /// </summary>
 /// <param name="owner">The gizmos owner.</param>
 protected GizmoBase(IGizmoOwner owner)
 {
     // Link
     Owner = owner;
     Owner.Gizmos.Add(this);
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransformGizmoBase" /> class.
 /// </summary>
 /// <param name="owner">The gizmos owner.</param>
 public TransformGizmoBase(IGizmoOwner owner)
     : base(owner)
 {
     InitDrawing();
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransformGizmo" /> class.
 /// </summary>
 /// <param name="owner">The gizmos owner.</param>
 public TransformGizmo(IGizmoOwner owner)
     : base(owner)
 {
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaintTerrainGizmo"/> class.
 /// </summary>
 /// <param name="owner">The owner.</param>
 /// <param name="mode">The mode.</param>
 public PaintTerrainGizmo(IGizmoOwner owner, PaintTerrainGizmoMode mode)
     : base(owner)
 {
     Mode = mode;
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SculptTerrainGizmo"/> class.
 /// </summary>
 /// <param name="owner">The owner.</param>
 /// <param name="mode">The mode.</param>
 public SculptTerrainGizmo(IGizmoOwner owner, SculptTerrainGizmoMode mode)
     : base(owner)
 {
     Mode = mode;
 }
Example #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EditTerrainGizmo"/> class.
 /// </summary>
 /// <param name="owner">The owner.</param>
 /// <param name="mode">The mode.</param>
 public EditTerrainGizmo(IGizmoOwner owner, EditTerrainGizmoMode mode)
     : base(owner)
 {
     Mode = mode;
 }
Example #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PaintFoliageGizmo"/> class.
 /// </summary>
 /// <param name="owner">The owner.</param>
 /// <param name="mode">The mode.</param>
 public PaintFoliageGizmo(IGizmoOwner owner, PaintFoliageGizmoMode mode)
     : base(owner)
 {
     Mode = mode;
 }