Summary

Information about terrain materials at a specific position

Properties

BaseMaterial The base terrain material resource (if available)
BaseTextureId The base (primary) material index at this position
BlendFactor Blend factor between base and overlay (0-1, where 0 = full base, 1 = full overlay)
IsHole Whether this position is marked as a hole
OverlayMaterial The overlay terrain material resource (if available)
OverlayTextureId The overlay (secondary) material index at this position

Methods

GetDominantMaterial Gets the dominant material at this position based on blend factor
GetDominantMaterialIndex Gets the dominant material index at this position based on blend factor
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.