跳转到内容

TerrainBandBuild

此内容尚不支持你的语言。

Defined in: sdk/src/spline/terrainBand2D.ts:69

What a band is built into: the mesh, and the outline its collider follows.

closed: boolean

Defined in: sdk/src/spline/terrainBand2D.ts:75


edge: MeshRendererGeometry | null

Defined in: sdk/src/spline/terrainBand2D.ts:72

The lip as a mesh of its own, with its image laid along the surface by arc length, when the band has an edgeTexture; the lip is then not in geometry.


geometry: MeshRendererGeometry

Defined in: sdk/src/spline/terrainBand2D.ts:70


outline: Vec2[]

Defined in: sdk/src/spline/terrainBand2D.ts:74

The surface, in the entity’s own space: the curve for an open spline, the ring for a closed one.