update

fun update(engine: Engine, size: Size = this.size, center: Position = this.center, normal: Direction = this.normal, uvScale: UvScale = this.uvScale): Plane

Update the geometry

Parameters

size

Size of the constructed plane

center

Center of the constructed plane

normal

Looking at direction

uvScale

UVs coordinates

One way to tile the texture is by adjusting the UV coordinates of your model to extend beyond 0 to 1 and setting the TextureSampler's WrapMode to REPEAT.