Skip to content

LampProfile

public sealed class LampProfile

Namespace Chassis.Api

Indicator lamps in the model.

public List<string> Left = new List<string>()

Names of the left indicator lamp objects. A name also matches “name.001” and every renderer below it.

Value Transform names in the model, for example [“Indicator_FL”, “Indicator_RL”] for a front and a rear lamp.

public List<string> Right = new List<string>()

Names of the right indicator lamp objects, matched as Left.

public Color Color = new Color(1f, 0.42f, 0f)

Glow colour while a lamp flashes.

Value Channels from 0 to 1; the default (1, 0.42, 0) is amber. In JSON: [1, 0.42, 0, 1].

public bool UseTexture

The glow takes the lamp’s own texture as its pattern; off, the whole lamp glows in Color.