Constructors
PixelateValueShader
#Create a new pixelate shader.
Parameters:
| basisShader (ValueShader) | |
| sizeX (int) | |
| sizeY (int) |
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