Click or drag to resize
DigitalRuneCameraNodeViewDependentData Property
Gets a dictionary that can be used to store view-dependent information.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Dictionary<Object, Object> ViewDependentData { get; }

Property Value

Type: DictionaryObject, Object
The dictionary that stores view-dependent information.
Remarks

The ViewDependentData dictionary can be used to store view-dependent information with the camera node.

When there is an abrupt change ("cut") in the scene the method InvalidateViewDependentData needs to be called to reset any view-dependent information. For example, this can be necessary when a new level is loaded or the view changes significantly from one frame to the next. This method disposes any data in the ViewDependentData dictionary that implements the interface IDisposable.

See Also