Class ImageShader
Namespace: Unity.UIWidgets.ui
Syntax
public class ImageShader : PaintShader
Constructors
ImageShader(Image, TileMode, Matrix3)
Declaration
public ImageShader(Image image, TileMode tileMode = TileMode.clamp, Matrix3 matrix = null)
Parameters
Type | Name | Description |
---|---|---|
Image | image | |
TileMode | tileMode | |
Matrix3 | matrix |
Fields
image
Declaration
public readonly Image image
Field Value
Type | Description |
---|---|
Image |
matrix
Declaration
public readonly Matrix3 matrix
Field Value
Type | Description |
---|---|
Matrix3 |
tileMode
Declaration
public readonly TileMode tileMode
Field Value
Type | Description |
---|---|
TileMode |
Methods
getShaderMat(Matrix3)
Declaration
public Matrix3 getShaderMat(Matrix3 mat)
Parameters
Type | Name | Description |
---|---|---|
Matrix3 | mat |
Returns
Type | Description |
---|---|
Matrix3 |