BSP specialisation of RaySceneQuery.
Inheritance: Axiom.Core.DefaultRaySceneQuery
Example #1
0
		/// <summary>
		///		Creates a RaySceneQuery for this scene manager.
		/// </summary>
		/// <remarks>
		///		This method creates a new instance of a query object for this scene manager,
		///		looking for objects which fall along a ray. See SceneQuery and RaySceneQuery
		///		for full details.
		/// </remarks>
		/// <param name="ray">Details of the ray 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 RaySceneQuery CreateRayQuery( Ray ray, uint mask )
		{
			var q = new BspRaySceneQuery( this );
			q.Ray = ray;
			q.QueryMask = mask;

			return q;
		}