ドキュメント

Unity Engine

Unity Engine

TerrainLayerSmoothnessSource

Source of smoothness value used in the underlying splat material of a TerrainLayer when TerrainLayer.diffuseTexture has an alpha channel.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
public enum TerrainLayerSmoothnessSource

Remarks

When TerrainLayer.diffuseTexture has an alpha channel, you can set smoothness by TerrainLayer.smoothness or through the alpha channel of the diffuse texture.

Fields

Value

Description

ConstantMultipliedByDiffuseAlphaSmoothness value comes from a mix of TerrainLayer.smoothness and the alpha channel of TerrainLayer.diffuseTexture
ConstantOnlySmoothness value comes from TerrainLayer.smoothness.
DiffuseAlphaChannelSmoothness value comes from the alpha channel of TerrainLayer.diffuseTexture.