File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Assets/MRTK/SDK/Features/UX/Scripts/BoundsControl Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -562,7 +562,6 @@ public ElasticsManager ElasticsManager
562
562
private static readonly List < Vector3 > TotalBoundsCorners = new List < Vector3 > ( ) ;
563
563
564
564
private Vector3 [ ] boundsCorners = new Vector3 [ 8 ] ;
565
- public Vector3 [ ] BoundsCorners { get ; private set ; }
566
565
567
566
#endregion
568
567
@@ -575,6 +574,14 @@ public ElasticsManager ElasticsManager
575
574
576
575
// TODO Review this, it feels like we should be using Behaviour.enabled instead.
577
576
private bool active = false ;
577
+
578
+ /// <summary>
579
+ /// Whether the bounds control is currently active and will respond to input.
580
+ /// </summary>
581
+ /// <remarks>
582
+ /// Setting this property will also set the entire gameObject's active state, as well as
583
+ /// resetting the visuals and proximity scale effects.
584
+ /// </remarks>
578
585
public bool Active
579
586
{
580
587
get
@@ -621,7 +628,7 @@ private bool IsInitialized
621
628
#region Public Methods
622
629
623
630
/// <summary>
624
- /// Allows to manually enable wire (edge) highlighting (edges) of the bounds control.
631
+ /// Allows the manual enabling of the wireframe display of the bounds control.
625
632
/// This is useful if connected to the Manipulation events of a
626
633
/// <see cref="Microsoft.MixedReality.Toolkit.UI.ObjectManipulator"/>
627
634
/// when used in conjunction with this MonoBehavior.
@@ -631,6 +638,9 @@ public void HighlightWires()
631
638
SetHighlighted ( null ) ;
632
639
}
633
640
641
+ /// <summary>
642
+ /// Allows the manual disabling of the wireframe display.
643
+ /// </summary>
634
644
public void UnhighlightWires ( )
635
645
{
636
646
ResetVisuals ( ) ;
You can’t perform that action at this time.
0 commit comments