@@ -54,6 +54,40 @@ public class CameraTarget : MonoBehaviour
5454
5555 #region Public Members
5656
57+ /// <summary>
58+ /// Gets or sets a value indicating whether this <see cref="IBM.Watson.DeveloperCloud.Camera.CameraTarget"/> use
59+ /// custom position.
60+ /// </summary>
61+ /// <value><c>true</c> if use custom position; otherwise, <c>false</c>.</value>
62+ public bool UseCustomPosition
63+ {
64+ get
65+ {
66+ return m_UseCustomPosition ;
67+ }
68+ set
69+ {
70+ m_UseCustomPosition = value ;
71+ }
72+ }
73+
74+ /// <summary>
75+ /// Gets or sets a value indicating whether this <see cref="IBM.Watson.DeveloperCloud.Camera.CameraTarget"/> use
76+ /// custom rotation.
77+ /// </summary>
78+ /// <value><c>true</c> if use custom rotation; otherwise, <c>false</c>.</value>
79+ public bool UseCustomRotation
80+ {
81+ get
82+ {
83+ return m_UseCustomRotation ;
84+ }
85+ set
86+ {
87+ m_UseCustomRotation = value ;
88+ }
89+ }
90+
5791 /// <summary>
5892 /// Gets or sets the target position.
5993 /// </summary>
@@ -128,6 +162,10 @@ public Quaternion TargetRotation
128162 }
129163 }
130164
165+ /// <summary>
166+ /// Gets or sets the target object.
167+ /// </summary>
168+ /// <value>The target object.</value>
131169 public GameObject TargetObject
132170 {
133171 get
@@ -149,6 +187,10 @@ public GameObject TargetObject
149187 }
150188 }
151189
190+ /// <summary>
191+ /// Gets the camera attached.
192+ /// </summary>
193+ /// <value>The camera attached.</value>
152194 public UnityEngine . Camera CameraAttached
153195 {
154196 get
@@ -162,6 +204,10 @@ public UnityEngine.Camera CameraAttached
162204 }
163205 }
164206
207+ /// <summary>
208+ /// Gets the watson camera attached.
209+ /// </summary>
210+ /// <value>The watson camera attached.</value>
165211 public WatsonCamera WatsonCameraAttached
166212 {
167213 get
@@ -178,6 +224,10 @@ public WatsonCamera WatsonCameraAttached
178224
179225 #region Set Target on Camera
180226
227+ /// <summary>
228+ /// Sets the current target on camera.
229+ /// </summary>
230+ /// <param name="enable">If set to <c>true</c> enable.</param>
181231 public void SetCurrentTargetOnCamera ( bool enable )
182232 {
183233 if ( WatsonCamera . Instance != null )
@@ -189,6 +239,9 @@ public void SetCurrentTargetOnCamera(bool enable)
189239 }
190240 }
191241
242+ /// <summary>
243+ /// Sets the target position default.
244+ /// </summary>
192245 public void SetTargetPositionDefault ( )
193246 {
194247 if ( WatsonCamera . Instance != null && WatsonCamera . Instance . DefaultCameraTarget != null )
@@ -197,6 +250,9 @@ public void SetTargetPositionDefault()
197250 }
198251 }
199252
253+ /// <summary>
254+ /// Sets the target rotation default.
255+ /// </summary>
200256 public void SetTargetRotationDefault ( )
201257 {
202258 if ( WatsonCamera . Instance != null && WatsonCamera . Instance . DefaultCameraTarget != null )
0 commit comments