Hierarchy

  • PBUiBackground

Properties

color?: PBColor4

default=(1.0, 1.0, 1.0, 1.0), pixel = color * sample2D(texture, uv)

texture?: TextureUnion
textureSlices?: BorderRect

default=(1/3, 1/3, 1/3, 1/3)

uvs: number[]

default=[0,0,0,1,1,0,1,0]: starting from bottom-left vertex clock-wise