| CameraNodeViewDependentData Property |
Gets a dictionary that can be used to store view-dependent information.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Dictionary<Object, Object> ViewDependentData { get; }
Public ReadOnly Property ViewDependentData As Dictionary(Of Object, Object)
Get
public:
property Dictionary<Object^, Object^>^ ViewDependentData {
Dictionary<Object^, Object^>^ get ();
}
member ViewDependentData : Dictionary<Object, Object> with get
Property Value
Type:
DictionaryObject,
ObjectThe 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