Terrain GameObject 使用的细节原型。
alignToGround | Rotate detail axis parallel to the ground's normal direction, so that the detail is perpendicular to the ground. |
density | Controls detail density for this detail prototype, relative to it's size. |
dryColor | DetailPrototype 为“dry”时的颜色。 |
healthyColor | DetailPrototype 为“healthy”时的颜色。 |
holeEdgePadding | Controls how far away detail objects are from the edge of the hole area. |
maxHeight | 草公告牌的最大高度(如果渲染模式为 GrassBillboard)。 |
maxWidth | 草公告牌的最大宽度(如果渲染模式为 GrassBillboard)。 |
minHeight | 草公告牌的最小高度(如果渲染模式为 GrassBillboard)。 |
minWidth | 草公告牌的最小宽度(如果渲染模式为 GrassBillboard)。 |
noiseSeed | Specifies the random seed value for detail object placement. |
noiseSpread | Controls the spatial frequency of the noise pattern used to vary the scale and color of the detail objects. |
positionJitter | Controls how Unity generates the detail positions. |
prototype | DetailPrototype 使用的 GameObject。 |
prototypeTexture | DetailPrototype 使用的纹理。 |
renderMode | DetailPrototype 的渲染模式。 |
targetCoverage | Controls the detail's target coverage. |
useDensityScaling | Indicates the global density scale set in the terrain settings affects this detail prototype. |
useInstancing | Indicates whether this detail prototype uses GPU Instancing for rendering. |
usePrototypeMesh | Indicates whether this detail prototype uses the Mesh object from the GameObject specified by prototype. |
Validate | Returns true if the detail prototype is valid and the Terrain can accept it. |