# Plane
Todo: Lot of examples.
# Plane Example
// Parameters:
size: number,
color: number,
emissive: number,
position: [ number, number, number ]
//Plane, one line example:)
const plane = mw.add.plane ( 10, 0x000000, 0x99FFFF, [ 1, 1, 1 ] )
//Default material options
public paramMaterial = {
transparent: true,
opacity: 1,
color: 0xFF0000,
emissive: 0xffd144,
emissiveIntensity: 0.7,
roughness: 0.5,
metalness: 1,
side: DoubleSide,
flatShading: true,
blending: 1,
fog: false,
wireframe: false
}
Result: