Interface: MeshPlaneOptions

MeshPlaneOptions

Constructor options used for MeshPlane instances.

const meshPlane = new MeshPlane({
   texture: Texture.from('snake.png'),
   verticesX: 20,
   verticesY: 20,
});
Properties:
Name Type Description
texture Texture

The texture to use on the plane.

verticesX number

The number of vertices in the x-axis

verticesY number

The number of vertices in the y-axis

See:

Extends

  • Omit

Members

texture Texture

The texture to use on the plane.

verticesX number

The number of vertices in the x-axis

verticesY number

The number of vertices in the y-axis