SKShader.CreatePerlinNoiseFractalNoise Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreatePerlinNoiseFractalNoise(Single, Single, Int32, Single) |
Creates a new shader that draws Perlin fractal noise. |
CreatePerlinNoiseFractalNoise(Single, Single, Int32, Single, SKPointI) |
Creates a new shader that draws Perlin fractal noise. |
CreatePerlinNoiseFractalNoise(Single, Single, Int32, Single, SKSizeI) |
CreatePerlinNoiseFractalNoise(Single, Single, Int32, Single)
Creates a new shader that draws Perlin fractal noise.
public static SkiaSharp.SKShader CreatePerlinNoiseFractalNoise (float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed);
Parameters
- baseFrequencyX
- Single
The frequency in the x-direction in the range of 0..1.
- baseFrequencyY
- Single
The frequency in the y-direction in the range of 0..1.
- numOctaves
- Int32
The number of octaves, usually fairly small.
- seed
- Single
The randomization seed.
Returns
Returns a new SKShader, or an empty shader on error. This function never returns null.
Applies to
CreatePerlinNoiseFractalNoise(Single, Single, Int32, Single, SKPointI)
Creates a new shader that draws Perlin fractal noise.
public static SkiaSharp.SKShader CreatePerlinNoiseFractalNoise (float baseFrequencyX, float baseFrequencyY, int numOctaves, float seed, SkiaSharp.SKPointI tileSize);
Parameters
- baseFrequencyX
- Single
The frequency in the x-direction in the range of 0..1.
- baseFrequencyY
- Single
The frequency in the y-direction in the range of 0..1.
- numOctaves
- Int32
The number of octaves, usually fairly small.
- seed
- Single
The randomization seed.
- tileSize
- SKPointI
The tile size used to modify the frequencies so that the noise will be tileable for the given size.
Returns
Returns a new SKShader, or an empty shader on error. This function never returns null.
Applies to
CreatePerlinNoiseFractalNoise(Single, Single, Int32, Single, SKSizeI)
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기