TileModes

interface TileModes

描述渐变平铺模式(Tile Modes)的接口。

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getClamp(): TileMode

将边缘颜色固定为渐变的最终颜色。

Link copied to clipboard
abstract fun getDecal(): TileMode

仅在着色器(shader)的原始边界内渲染其图像像素。 如果着色器绘制超出其原始边界,则会绘制透明黑色。

Link copied to clipboard
abstract fun getMirror(): TileMode

从最后一种颜色到第一种颜色镜像重复渐变。

Link copied to clipboard
abstract fun getRepeated(): TileMode

从第一种颜色到最后一种颜色重复渐变。