Methods
Flip
#Repeat and flip a value within a [0, limit] domain.
Flip
#Repeat and flip a value within a [0, limit] domain.
Rotate
#Apply a rotation transformation to this shader.
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.
ValueAt
#Evaluate this shader at a specific ray location.
Parameters:
| ray (Ray) | Coincident ray. |
| stack (IObjectStack) | Object stack context. |
Convertors
| Operation | Result | Description | ||
|---|---|---|---|---|
| implicit | float | ValueShader | Create a constant value shader. | |