Click or drag to resize
DigitalRuneCameraFrustumQuery Class
Returns the scene nodes that touch a specific reference scene node (usually the CameraNode).
Inheritance Hierarchy
SystemObject
  DigitalRune.Graphics.SceneGraphCameraFrustumQuery

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class CameraFrustumQuery : ISceneQuery

The CameraFrustumQuery type exposes the following members.

Constructors
  NameDescription
Public methodCameraFrustumQuery
Initializes a new instance of the CameraFrustumQuery class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Resets this query.
Public methodSet
Sets the query result.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyReferenceNode
Gets the reference node.
Public propertySceneNodes
Gets the scene nodes that touch the ReferenceNode.
Top
Remarks

A CameraFrustumQuery can be executed against a scene by calling QueryT(SceneNode, RenderContext). The query can be used to get all scene nodes in a scene that touch a certain reference node. For example: This query is typically used for frustum culling to get all meshes and lights inside the camera frustum. The reference node in this example is the camera node.

This scene query does not evaluate LodGroupNodes, i.e. the LOD conditions are not evaluated. LodGroupNodes are simply added to SceneNodes collection when they touch the reference node.

See Also