API ReferenceSandbox
public sealed struct Sandbox.CompactTerrainMaterial
Compact terrain material encoding with base/overlay texture blending. Packed format (32-bit uint)
Constructors
Showing 2 constructors
No results match this filter.
Properties
Showing 5 properties
public byte Sandbox.CompactTerrainMaterial.BaseTextureId { get; set; }
Base texture ID (0-31)
public byte Sandbox.CompactTerrainMaterial.BlendFactor { get; set; }
Blend factor between base and overlay (0-255).
public bool Sandbox.CompactTerrainMaterial.IsHole { get; set; }
Whether this pixel is marked as a hole
public byte Sandbox.CompactTerrainMaterial.OverlayTextureId { get; set; }
Overlay texture ID (0-31)
public uint Sandbox.CompactTerrainMaterial.Packed { get; set; }
Raw packed value
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.CompactTerrainMaterial |