Function CreateGroundVertexData
-
CreateGroundVertexData(
options: {
height?: number;
size?: number;
subdivisions?: number;
subdivisionsX?: number;
subdivisionsY?: number;
width?: number;
},
): VertexDataParameters
- options: {
height?: number;
size?: number;
subdivisions?: number;
subdivisionsX?: number;
subdivisionsY?: number;
width?: number;
}an object used to set the following optional parameters for the Ground, required but can be empty
widththe width (x direction) of the ground, optional, default 1heightthe height (z direction) of the ground, optional, default 1subdivisionsthe number of subdivisions per side, optional, default 1subdivisionsXthe number of subdivisions in the x direction, overrides options.subdivisions, optional, default undefinedsubdivisionsYthe number of subdivisions in the y direction, overrides options.subdivisions, optional, default undefined
Returns VertexData
the VertexData of the Ground
- options: {
Creates the VertexData for a Ground