CameraFrustumQuery Class |
Namespace: DigitalRune.Graphics.SceneGraph
The CameraFrustumQuery type exposes the following members.
Name | Description | |
---|---|---|
CameraFrustumQuery |
Initializes a new instance of the CameraFrustumQuery class.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
Resets this query.
| |
Set |
Sets the query result.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ReferenceNode |
Gets the reference node.
| |
SceneNodes |
Gets the scene nodes that touch the ReferenceNode.
|
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.