Ejemplo n.º 1
0
 /// <summary>
 /// Gets the local boundary data for the agent.
 /// </summary>
 /// <remarks>
 /// <para>
 /// Only available after after a <see cref="CrowdManager"/> update.
 /// </para>
 /// <para>
 /// This data is not updated every frame.  So the boundary center will not always
 /// equal the position of the agent.
 /// </para>
 /// </remarks>
 /// <param name="buffer">A buffer to load with the boundary data. (Out)</param>
 /// <seealso cref="LocalBoundaryData"/>
 public void GetBoundary(LocalBoundaryData buffer)
 {
     if (!IsDisposed)
     {
         CrowdAgentEx.dtcaGetLocalBoundary(root, buffer);
     }
 }
 /// <summary>
 /// Gets the local boundary data for the agent.
 /// </summary>
 /// <remarks>
 /// <para>
 /// Only available after after a <see cref="CrowdManager"/> update.
 /// </para>
 /// <para>
 /// This data is not updated every frame.  So the boundary center will not always 
 /// equal the position of the agent.
 /// </para>
 /// </remarks>
 /// <param name="buffer">A buffer to load with the boundary data. (Out)</param>
 /// <seealso cref="LocalBoundaryData"/>
 public void GetBoundary(LocalBoundaryData buffer)
 {
     if (!IsDisposed)
         CrowdAgentEx.dtcaGetLocalBoundary(root, buffer);
 }