Documentation
¶
Overview ¶
Package scene defines the portable, executable-code-free On Air document v1.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Behavior ¶
type Behavior struct {
Typewriter *Params `json:"typewriter,omitempty"`
Flicker *Params `json:"flicker,omitempty"`
Wiggle *Params `json:"wiggle,omitempty"`
Bounce *Params `json:"bounce,omitempty"`
Glint *Params `json:"glint,omitempty"`
Chroma *Params `json:"chroma,omitempty"`
Drift *Params `json:"drift,omitempty"`
Pop *Params `json:"pop,omitempty"`
Squash *Params `json:"squash,omitempty"`
}
type Bindings ¶
type Document ¶
type Document struct {
Audio *Audio `json:"audio,omitempty"`
V int `json:"v"`
Moment string `json:"moment"`
Duration float64 `json:"duration"`
Poster float64 `json:"poster"`
Slots []string `json:"slots,omitempty"`
Layers []Layer `json:"layers"`
Post []Effect `json:"post,omitempty"`
}
func (Document) StaticForeground ¶
StaticForeground separates a full-frame analogue background from its prepared foreground. Such scenes air over a live Signal engine instead of a clip loop.
type Layer ¶
type Layer struct {
Name string `json:"name,omitempty"`
Hidden bool `json:"hidden,omitempty"`
Locked bool `json:"locked,omitempty"`
Start float64 `json:"start,omitempty"`
End float64 `json:"end,omitempty"`
ID string `json:"id"`
Type string `json:"type"`
X Value `json:"x,omitempty"`
Y Value `json:"y,omitempty"`
W Value `json:"w,omitempty"`
H Value `json:"h,omitempty"`
Scale Value `json:"scale,omitempty"`
ScaleX Value `json:"scaleX,omitempty"`
ScaleY Value `json:"scaleY,omitempty"`
Rotate Value `json:"rotate,omitempty"`
Opacity Value `json:"opacity,omitempty"`
Fill Value `json:"fill,omitempty"`
Stroke Value `json:"stroke,omitempty"`
StrokeWidth Value `json:"strokeWidth,omitempty"`
Join string `json:"join,omitempty"`
Cap string `json:"cap,omitempty"`
FillRule string `json:"fillRule,omitempty"`
Path string `json:"path,omitempty"`
Clip string `json:"clip,omitempty"`
Text Value `json:"text,omitempty"`
Font Value `json:"font,omitempty"`
Size Value `json:"size,omitempty"`
Weight int `json:"weight,omitempty"`
Track Value `json:"track,omitempty"`
Align string `json:"align,omitempty"`
MaxWidth float64 `json:"maxWidth,omitempty"`
Fit string `json:"fit,omitempty"`
MaxLines int `json:"maxLines,omitempty"`
Src Value `json:"src,omitempty"`
Tint Value `json:"tint,omitempty"`
TintBlend string `json:"tintBlend,omitempty"`
Blend string `json:"blend,omitempty"`
Blur float64 `json:"blur,omitempty"`
Glow float64 `json:"glow,omitempty"`
Count int `json:"count,omitempty"`
Seed uint32 `json:"seed,omitempty"`
Repeat int `json:"repeat,omitempty"`
Behave []Behavior `json:"behave,omitempty"`
Reveal *Reveal `json:"reveal,omitempty"`
Layers []Layer `json:"layers,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.