File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Assets/HoloToolkit/SpatialMapping/Scripts Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ public class SpatialMappingObserver : SpatialMappingSource
6565 /// <summary>
6666 /// Indicates the current type of the observed volume
6767 /// </summary>
68+ [ SerializeField ] [ Tooltip ( "The shape of the observation volume." ) ]
6869 private ObserverVolumeTypes observerVolumeType = ObserverVolumeTypes . AxisAlignedBox ;
6970 public ObserverVolumeTypes ObserverVolumeType
7071 {
@@ -111,7 +112,7 @@ public ObserverVolumeTypes ObserverVolumeType
111112 /// </summary>
112113 private float updateTime ;
113114
114- [ Tooltip ( "The extents of the observation volume." ) ]
115+ [ SerializeField ] [ Tooltip ( "The extents of the observation volume." ) ]
115116 private Vector3 extents = Vector3 . one * 10.0f ;
116117 public Vector3 Extents
117118 {
@@ -132,6 +133,7 @@ public Vector3 Extents
132133 /// <summary>
133134 /// The origin of the observation volume.
134135 /// </summary>
136+ [ SerializeField ] [ Tooltip ( "The origin of the observation volume." ) ]
135137 private Vector3 origin = Vector3 . zero ;
136138 public Vector3 Origin
137139 {
@@ -150,8 +152,9 @@ public Vector3 Origin
150152 }
151153
152154 /// <summary>
153- /// The direction of the observed volume if an oriented box is choosen.
155+ /// The direction of the observed volume, if an oriented box is choosen.
154156 /// </summary>
157+ [ SerializeField ] [ Tooltip ( "The direction of the observation volume." ) ]
155158 private Quaternion orientation = Quaternion . identity ;
156159 public Quaternion Orientation
157160 {
You can’t perform that action at this time.
0 commit comments