Struct DistortionEffectConfiguration
The Distortion effect is generated by shifting texture coorindates based on the gradient of a height map, scaled by a chosen factor
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct DistortionEffectConfiguration
Properties
DistortionScalar
Scales the internal height map gradient at each pixel to generate the texture coordiante shift
Declaration
public float DistortionScalar { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |