Constructors
BlurValueModifier
#Create a new blur shader.
Parameters:
| basisShader (ValueShader) | Value shader to blur. |
| radius0 (double) | First radius (horizontal). |
| radius1 (double) | Second radius (vertical). |
| angle (Angle) | Counter-clockwise rotation of blur axes (in radians). |
Fields
Methods
Dilate
Apply a dilation (or scaling) transformation to this shader.
Flip
Repeat and flip a value within a [0, limit] domain.
Flip
Repeat and flip a value within a [0, limit] domain.
Parameters:
| angle (Angle) | Rotation angle (counter-clockwise). |
Returns: Rotated shader.
Transform
Apply a custom transformation to this shader.
Parameters:
| transform (Transform2D) | Transformation. |
Returns: Transformed shader.
Translate
Apply a translation transformation to this shader.
ValueAt
#Evaluate this shader at a specific ray location.
Parameters:
| ray (Ray) | Coincident ray. |
| stack (IObjectStack) | Object stack context. |
Overrides: ValueShader.ValueAt