Class: PlaneGeometry

PlaneGeometry

new PlaneGeometry (…options)

Name Type Description
options [unknown] | [unknown, unknown, unknown, unknown]

Options to be applied to plane geometry

options.width

Width of plane

options.height

Height of plane

options.verticesX

Number of vertices on x-axis

options.verticesY

Number of vertices on y-axis

Extends

Methods

build (options) void

Refreshes plane coordinates

Name Type Description
options PlaneGeometryOptions

Inherited Properties

From class Geometry

_layoutKey number inherited

Default Value:
  • 0

Inherited Methods

From class Geometry

getAttribute (id) Attribute inherited

Returns the requested attribute.

Name Type Description
id string

The name of the attribute required

Returns:
Type Description
Attribute
  • The attribute requested.

Returns the requested buffer.

Name Type Description
id string

The name of the buffer required.

Returns:
Type Description
rendering.Buffer
  • The buffer requested.

Returns the index buffer

Returns:
Type Description
rendering.Buffer
  • The index buffer.