Ground

Description

class Ground extends _Primitive

Constructor

new Ground(id, scene, width, height, subdivisions, canBeRegenerated, mesh)

Parameters

Name Type Description
id string
scene Scene
width number
height number
subdivisions number
optional canBeRegenerated boolean

Members

width : number

height : number

subdivisions : number

Methods

copy(id) Geometry

Parameters

Name Type Description
id string

serialize() any

static Parse(parsedGround, scene) Nullable<undefined>

Parameters

Name Type Description
parsedGround any
scene Scene