makePlane

open fun makePlane(engine: Engine, size: Vector3, center: Vector3, material: MaterialInstance): ModelRenderable

Creates a ModelRenderable in the shape of a plane with the given specifications.

Return

renderable representing a plane with the given parameters

Parameters

size

the size of the constructed plane

center

the center of the constructed plane

material

the material to use for rendering the plane