PatchMesh.DisplacementParameter Property

Language:

Retrieves or sets mesh geometry displacement parameters.

Definition

Visual Basic Public Property DisplacementParameter As DisplacementParameter
C# public DisplacementParameter DisplacementParameter { get; set; }
C++ public:
property DisplacementParameter DisplacementParameter {
        DisplacementParameter get();
        void set(DisplacementParameter value);
}
JScript public function get DisplacementParameter() : DisplacementParameter
public function set DisplacementParameter(DisplacementParameter);

Property Value

Microsoft.DirectX.Direct3D.DisplacementParameter
The DisplacementParameter for the mesh.

This property is read/write. 

Remarks

Displacement maps can only be 2-D textures. Mipmapping is ignored for nonadaptive tessellating.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center