Documentation
¶
Index ¶
- type Basic
- type Combined
- type Composite
- func (l Composite) LightIDLen() int
- func (l Composite) LightIDSequenceTransform(fn func(lightid.ID) lightid.Set) context.Light
- func (l Composite) LightIDSetSequenceTransform(fn func(lightid.Set) lightid.Set) context.Light
- func (l Composite) LightIDSetTransform(fn func(lightid.Set) lightid.Set) context.Light
- func (l Composite) LightIDTransform(fn func(lightid.ID) lightid.Set) context.Light
- func (l Composite) NewRGBLighting(ctx context.LightRGBLightingContext) evt.RGBLightingEvents
- type Custom
- type LightIDSequenceTransformableLight
- type LightIDSetSequenceTransformableLight
- type LightIDSetTransformableLight
- type LightIDTransformableLight
- type MaxLightIDer
- type Sequence
- func (s *Sequence) Add(lights ...context.Light)
- func (s Sequence) Idx(i int) context.Light
- func (s Sequence) Len() int
- func (s Sequence) LightIDLen() int
- func (s Sequence) LightIDSequenceTransform(fn func(lightid.ID) lightid.Set) context.Light
- func (s Sequence) LightIDSetSequenceTransform(fn func(lightid.Set) lightid.Set) context.Light
- func (s Sequence) LightIDSetTransform(fn func(lightid.Set) lightid.Set) context.Light
- func (s Sequence) LightIDTransform(fn func(lightid.ID) lightid.Set) context.Light
- func (s Sequence) Lights() []context.Light
- func (s Sequence) NewRGBLighting(ctx context.LightRGBLightingContext) evt.RGBLightingEvents
- func (s Sequence) Shuffle() Sequence
- func (s Sequence) Slice(i, j int) Sequence
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic struct {
// contains filtered or unexported fields
}
Basic represents a light with the base game's attributes. Lighting events created by Basic do not set _customData._lightID.
func (Basic) LightIDLen ¶
func (Basic) LightIDSequenceTransform ¶
func (Basic) LightIDTransform ¶
func (Basic) NewRGBLighting ¶
func (l Basic) NewRGBLighting(ctx context.LightRGBLightingContext) evt.RGBLightingEvents
type Combined ¶
type Combined struct {
// contains filtered or unexported fields
}
func (Combined) LightIDLen ¶
func (Combined) NewRGBLighting ¶
func (c Combined) NewRGBLighting(ctx context.LightRGBLightingContext) evt.RGBLightingEvents
type Composite ¶
type Composite struct {
// contains filtered or unexported fields
}
func (Composite) LightIDLen ¶
func (Composite) LightIDSequenceTransform ¶
func (Composite) LightIDSetSequenceTransform ¶
func (Composite) LightIDSetTransform ¶
func (Composite) LightIDTransform ¶
func (Composite) NewRGBLighting ¶
func (l Composite) NewRGBLighting(ctx context.LightRGBLightingContext) evt.RGBLightingEvents
type Custom ¶
type Custom struct {
// contains filtered or unexported fields
}
func (Custom) LightIDLen ¶
func (Custom) LightIDSequenceTransform ¶
func (Custom) LightIDTransform ¶
func (Custom) NewRGBLighting ¶
func (c Custom) NewRGBLighting(ctx context.LightRGBLightingContext) evt.RGBLightingEvents
type MaxLightIDer ¶
type Sequence ¶
type Sequence struct {
// contains filtered or unexported fields
}
func NewSequence ¶
func (Sequence) LightIDLen ¶
func (Sequence) LightIDSequenceTransform ¶
func (Sequence) LightIDSetSequenceTransform ¶
func (Sequence) LightIDSetTransform ¶
func (Sequence) LightIDTransform ¶
func (Sequence) NewRGBLighting ¶
func (s Sequence) NewRGBLighting(ctx context.LightRGBLightingContext) evt.RGBLightingEvents
Click to show internal directories.
Click to hide internal directories.