TerrainDetail¶
Determines appearance of a certain terrain face direction.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
TerrainDetail has to be a child of a MaterialVariant object. The MaterialVariant.BaseMaterial property of the parent MaterialVariant object need to be one of the supported terrain Material, for example, it can be Basalt but not Plastic.
Terrain renders with different textures for it's top(+y), bottom(-y), and side(horizontal to y axis) faces. If a MaterialVariant has no TerrainDetail children, all faces are rendered as MaterialVariant specified. At most 3 TerrainDetail objects can be added to MaterialVariant, one for each face. TerrainDetail overrides the terrain appearance of a certain face.
For example, it can achieve this kind of effect: the top surface of Grass has lots of grass. On side surfaces, there are less grass. On bottom surfaces there are no grass.
Inheritance¶
Object → Instance → TerrainDetail
Properties¶
| Member | Signature | Summary |
|---|---|---|
ColorMap |
ColorMap: ContentId |
Determines the color of the surface. |
ColorMapContent |
ColorMapContent: Content |
Determines the color of the surface. Only supports asset URIs as textures. |
EmissiveMaskContent |
EmissiveMaskContent: Content |
Determines the emissivity across the surface. |
EmissiveStrength |
EmissiveStrength: float |
Determines the strength of emissive contribution. |
EmissiveTint |
EmissiveTint: Color3 |
Determines the tinting color for emissive contribution. |
Face |
Face: TerrainFace |
The face this TerrainDetail overrides. |
MaterialPattern |
MaterialPattern: MaterialPattern |
Determines texture tiling method. |
MetalnessMap |
MetalnessMap: ContentId |
Determines which parts of the surface are metal and are non-metal. |
MetalnessMapContent |
MetalnessMapContent: Content |
Determines which parts of the surface are metal and are non-metal. Only supports asset URIs as textures. |
NormalMap |
NormalMap: ContentId |
Modifies the lighting of the surface by adding bumps, dents, cracks, and curves without adding more polygons. |
NormalMapContent |
NormalMapContent: Content |
Modifies the lighting of the surface by adding bumps, dents, cracks, and curves without adding more polygons. Only supports asset URIs as textures. |
RoughnessMap |
RoughnessMap: ContentId |
Determines the apparent roughness across the surface. |
RoughnessMapContent |
RoughnessMapContent: Content |
Determines the apparent roughness across the surface. Only supports asset URIs as textures. |
StudsPerTile |
StudsPerTile: float |
Determines the scale of textures. |
TexturePack |
TexturePack: ContentId |
— |
TexturePackContent |
TexturePackContent: Content |
— |
Roblox reference: TerrainDetail
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.