API ReferenceSandbox
CompactTerrainMaterialclass
Compact terrain material encoding with base/overlay texture blending. Packed format (32-bit uint)
object→CompactTerrainMaterial
Constructors2
Showing 2 constructors
No results match this filter.
Properties5
Showing 5 properties
public byte Sandbox.CompactTerrainMaterial.BaseTextureId { get; set; }
Base texture ID (0-31)
Returns:
byte—public byte Sandbox.CompactTerrainMaterial.BlendFactor { get; set; }
Blend factor between base and overlay (0-255).
Returns:
byte—public bool Sandbox.CompactTerrainMaterial.IsHole { get; set; }
Whether this pixel is marked as a hole
Returns:
bool—public byte Sandbox.CompactTerrainMaterial.OverlayTextureId { get; set; }
Overlay texture ID (0-31)
Returns:
byte—public uint Sandbox.CompactTerrainMaterial.Packed { get; set; }
Raw packed value
Returns:
uint—No results match this filter.