Click or drag to resize
DigitalRuneUserDefinedWaves Class
Provides a user-defined displacement and normal texture that define the water surface.
Inheritance Hierarchy

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class UserDefinedWaves : WaterWaves

The UserDefinedWaves type exposes the following members.

Constructors
  NameDescription
Public methodUserDefinedWaves
Initializes a new instance of the UserDefinedWaves class
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by an instance of the WaterWaves class.
(Inherited from WaterWaves.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by an instance of the WaterWaves class and optionally releases the managed resources.
(Inherited from WaterWaves.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDisplacementMap
Gets or sets the displacement map.
Public propertyIsTiling
Gets or sets a value indicating whether the displacement map can be tiled seamlessly across the water surface.
Public propertyNormalMap
Gets or sets the normal map (using standard encoding, see remarks).
Public propertyTileCenter
Gets or sets the center of the first tile in world space.
Public propertyTileSize
Gets or sets the size of a single tile (one texture repetition) in world space.
Top
Remarks
This class adds setters to the WaterWaves properties. All properties have to be specified by the user.
See Also