Skip to content

GlassProfile

public sealed class GlassProfile

Namespace Chassis.Api

Which materials are windows and how they are tinted.

public List<string> Materials = new List<string> { "window_opaque" }

Window materials are the ones whose name starts with one of these.

Value Material name prefixes; the vanilla cars use “window_opaque”.

public Color Tint = new Color(0.2f, 0.24f, 0.28f, 0.55f)

Glass colour; alpha is how much of the cabin it hides.

Value Channels from 0 to 1; alpha 0 is clear glass, 1 hides the cabin. In JSON: [0.2, 0.24, 0.28, 0.55].