FogQuery Class |
Namespace: DigitalRune.Graphics.SceneGraph
The FogQuery type exposes the following members.
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 | |
---|---|---|
FogNodes |
Gets the fog nodes.
| |
ReferenceNode |
Gets the reference node.
|
A FogQuery can be executed against a scene by calling QueryT(SceneNode, RenderContext). The query can be used to get all FogNodes that affect the current a certain reference node in the scene. The reference node is typically the current CameraNode.
The FogNodes are sorted by their Priority (descending), which means that the first node in the list is the most important fog effect.