Versions in this module Expand all Collapse all v0 v0.28.0 Nov 12, 2024 v0.27.0 Jul 4, 2024 Changes in this version + const ExtensionName + const TypeDirectional + const TypePoint + const TypeSpot + func Unmarshal(data []byte) (any, error) + type Light struct + Color *[3]float64 + Intensity *float64 + Name string + Range *float64 + Spot *Spot + Type string + func (l *Light) ColorOrDefault() [3]float64 + func (l *Light) IntensityOrDefault() float64 + func (l *Light) UnmarshalJSON(data []byte) error + type LightIndex int + type Lights []*Light + type Spot struct + InnerConeAngle float64 + OuterConeAngle *float64 + func (s *Spot) OuterConeAngleOrDefault() float64 + func (s *Spot) UnmarshalJSON(data []byte) error