Methods

Dilate

#
Apply a dilation (or scaling) transformation to this shader.
public ValueShader Dilate(
sx,
Horizontal dilation.
sy
Vertical dilation.
)
Dilated shader.

Flip

#
Repeat and flip a value within a [0, limit] domain.
protected double Flip(
value,
limit
)

Flip

#
Repeat and flip a value within a [0, limit] domain.
protected float Flip(
value,
limit
)

Rotate

#
Apply a rotation transformation to this shader.
public ValueShader Rotate(
angle
Rotation angle (counter-clockwise).
)
Rotated shader.

Transform

#
Apply a custom transformation to this shader.
public ValueShader Transform(
transform
Transformation.
)
Transformed shader.

Translate

#
Apply a translation transformation to this shader.
public ValueShader Translate(
dx,
Horizontal translation.
dy
Vertical translation.
)
Translated shader.

ValueAt

#
Evaluate this shader at a specific ray location.
public abstract float ValueAt(
ray,
Coincident ray.
stack
Object stack context.
)

Convertors

OperationResultDescription
implicitfloatValueShaderCreate a constant value shader.