TerrainLayerDef
此内容尚不支持你的语言。
Defined in: sdk/src/terrain/layers.ts:20
One kind of ground, as a .esterrainlayer file holds it.
Properties
Section titled “Properties”albedo?
Section titled “albedo?”
optionalalbedo?:string
Defined in: sdk/src/terrain/layers.ts:22
Project paths of the textures (see the file’s notes); an empty or missing one is made up.
heightBlend?
Section titled “heightBlend?”
optionalheightBlend?:number
Defined in: sdk/src/terrain/layers.ts:37
How much the layer’s own height decides where it meets another, 0 to 1: 0 blends by the paint alone (a smooth edge, for grass into sand),
1 by the layers’ heights (stones standing through grass). Absent, it is the material’s u_heightBlend.
optionalmask?:string
Defined in: sdk/src/terrain/layers.ts:24
normal?
Section titled “normal?”
optionalnormal?:string
Defined in: sdk/src/terrain/layers.ts:23
normalStrength
Section titled “normalStrength”normalStrength:
number
Defined in: sdk/src/terrain/layers.ts:32
How strongly the normal map bends the light: 1 as drawn, 0 flat.
roughness
Section titled “roughness”roughness:
number
Defined in: sdk/src/terrain/layers.ts:30
The roughness where there is no mask, 0 to 1.
tile:
number
Defined in: sdk/src/terrain/layers.ts:26
How many world units one repeat of the textures covers.
tint: [
number,number,number]
Defined in: sdk/src/terrain/layers.ts:28
Multiplies the albedo, 0 to 1 a channel.