Click or drag to resize
DigitalRuneFogQuery Class
Returns the FogNodes that affect a specific scene node.
Inheritance Hierarchy
SystemObject
  DigitalRune.Graphics.SceneGraphFogQuery

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

The FogQuery type exposes the following members.

Constructors
  NameDescription
Public methodFogQuery
Initializes a new instance of the FogQuery 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 propertyFogNodes
Gets the fog nodes.
Public propertyReferenceNode
Gets the reference node.
Top
Remarks

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.

See Also