Edit

SKImageFilter.CreateDistantLitSpecular Method

Definition

Overloads

Name Description
CreateDistantLitSpecular(SKPoint3, SKColor, Single, Single, Single, SKImageFilter, SKRect)

Creates an image filter that applies distant light specular lighting using bump mapping.

CreateDistantLitSpecular(SKPoint3, SKColor, Single, Single, Single)

Creates an image filter that applies distant light specular lighting using bump mapping.

CreateDistantLitSpecular(SKPoint3, SKColor, Single, Single, Single, SKImageFilter)

Creates an image filter that applies distant light specular lighting using bump mapping.

CreateDistantLitSpecular(SKPoint3, SKColor, Single, Single, Single, SKImageFilter, SKRect)

Creates an image filter that applies distant light specular lighting using bump mapping.

public static SkiaSharp.SKImageFilter CreateDistantLitSpecular(SkiaSharp.SKPoint3 direction, SkiaSharp.SKColor lightColor, float surfaceScale, float ks, float shininess, SkiaSharp.SKImageFilter? input, SkiaSharp.SKRect cropRect);

Parameters

direction
SKPoint3

The direction of the light.

lightColor
SKColor

The color of the light.

surfaceScale
Single

The surface height scale factor for bump mapping.

ks
Single

The specular lighting constant.

shininess
Single

The specular highlight exponent (higher values create tighter highlights).

input
SKImageFilter

The input filter to use, or null to use the source bitmap.

cropRect
SKRect

The rectangle to which the output processing will be limited.

Returns

Returns the new SKImageFilter, or null on error.

Applies to

CreateDistantLitSpecular(SKPoint3, SKColor, Single, Single, Single)

Creates an image filter that applies distant light specular lighting using bump mapping.

public static SkiaSharp.SKImageFilter CreateDistantLitSpecular(SkiaSharp.SKPoint3 direction, SkiaSharp.SKColor lightColor, float surfaceScale, float ks, float shininess);

Parameters

direction
SKPoint3

The direction of the light.

lightColor
SKColor

The color of the light.

surfaceScale
Single

The surface height scale factor for bump mapping.

ks
Single

The specular lighting constant.

shininess
Single

The specular highlight exponent (higher values create tighter highlights).

Returns

Returns the new SKImageFilter, or null on error.

Applies to

CreateDistantLitSpecular(SKPoint3, SKColor, Single, Single, Single, SKImageFilter)

Creates an image filter that applies distant light specular lighting using bump mapping.

public static SkiaSharp.SKImageFilter CreateDistantLitSpecular(SkiaSharp.SKPoint3 direction, SkiaSharp.SKColor lightColor, float surfaceScale, float ks, float shininess, SkiaSharp.SKImageFilter? input);

Parameters

direction
SKPoint3

The direction of the light.

lightColor
SKColor

The color of the light.

surfaceScale
Single

The surface height scale factor for bump mapping.

ks
Single

The specular lighting constant.

shininess
Single

The specular highlight exponent (higher values create tighter highlights).

input
SKImageFilter

The input filter to use, or null to use the source bitmap.

Returns

Returns the new SKImageFilter, or null on error.

Applies to