flattenModifier
此内容尚不支持你的语言。
flattenModifier(
id,shape,height,falloff):TerrainModifier
Defined in: sdk/src/terrain/source.ts:368
Levels the ground to world height height over a circle or a turned rectangle, blending back to the ground over falloff world
units past its outline: a plot built on, a landing pad, a road’s bed.
Parameters
Section titled “Parameters”string
{ radius: number; type: "circle"; x: number; z: number; } | { halfX: number; halfZ: number; type: "rect"; x: number; yaw?: number; z: number; }
height
Section titled “height”number
falloff
Section titled “falloff”number