File: xx_generated.transitions.transitionbegin.go

package info (click to toggle)
golang-github-andreykaipov-goobs 0.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,228 kB
  • sloc: makefile: 32
file content (27 lines) | stat: -rw-r--r-- 702 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This file has been automatically generated. Don't edit it.

package events

/*
TransitionBegin represents the event body for the "TransitionBegin" event.
Since v4.0.0.
*/
type TransitionBegin struct {
	EventBasic

	// Transition duration (in milliseconds). Will be -1 for any transition with a fixed duration, such as a Stinger,
	// due to limitations of the OBS API.
	Duration int `json:"duration,omitempty"`

	// Source scene of the transition
	FromScene string `json:"from-scene,omitempty"`

	// Transition name.
	Name string `json:"name,omitempty"`

	// Destination scene of the transition
	ToScene string `json:"to-scene,omitempty"`

	// Transition type.
	Type string `json:"type,omitempty"`
}