// TODO: Scene queries. /// <summary> /// Creates an AxisAlignedBoxSceneQuery for this scene manager. /// </summary> /// <remarks> /// This method creates a new instance of a query object for this scene manager, /// for an axis aligned box region. See SceneQuery and AxisAlignedBoxSceneQuery /// for full details. /// <p/> /// The instance returned from this method must be destroyed by calling /// SceneManager.DestroyQuery when it is no longer required. /// </remarks> /// <param name="box">Details of the box which describes the region for this query.</param> /*public virtual AxisAlignedBoxSceneQuery CreateAABBQuery(AxisAlignedBox box) { return CreateAABBQuery(box, 0xFFFFFFFF); } /// <summary> /// Creates an AxisAlignedBoxSceneQuery for this scene manager. /// </summary> /// <remarks> /// This method creates a new instance of a query object for this scene manager, /// for an axis aligned box region. See SceneQuery and AxisAlignedBoxSceneQuery /// for full details. /// <p/> /// The instance returned from this method must be destroyed by calling /// SceneManager.DestroyQuery when it is no longer required. /// </remarks> /// <param name="box">Details of the box which describes the region for this query.</param> /// <param name="mask">The query mask to apply to this query; can be used to filter out certain objects; see SceneQuery for details.</param> public virtual AxisAlignedBoxSceneQuery CreateAABBQuery(AxisAlignedBox box, ulong mask) { // TODO: return null; }*/ /// <summary> /// Creates a SphereSceneQuery for this scene manager. /// </summary> /// <remarks> /// This method creates a new instance of a query object for this scene manager, /// for a spherical region. See SceneQuery and SphereSceneQuery /// for full details. /// </remarks> /// <param name="sphere">Details of the sphere which describes the region for this query.</param> /// <param name="mask">The query mask to apply to this query; can be used to filter out certain objects; see SceneQuery for details.</param> public override SphereRegionSceneQuery CreateSphereRegionQuery( Sphere sphere, uint mask ) { var q = new BspSphereRegionSceneQuery( this ); q.Sphere = sphere; q.QueryMask = mask; return q; }