GES.TransitionClip¶
- Subclasses:
None
Methods¶
- Inherited:
GES.Clip (23), GES.Container (6), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)
- Structs:
class |
|
class |
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The SMPTE video wipe to use, or 0 for crossfade |
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
vtype |
r |
a |
Class Details¶
- class GES.TransitionClip(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Creates an object that mixes together the two underlying objects, A and B. The A object is assumed to have a higher prioirity (lower number) than the B object. At the transition in point, only A will be visible, and by the end only B will be visible.
The shape of the video transition depends on the value of the “vtype” property. The default value is “crossfade”. For audio, only “crossfade” is supported.
The ID of the ExtractableType is the nickname of the vtype property value. Note that this value can be changed after creation and the GES.Extractable.asset value will be updated when needed.
- classmethod new(vtype)[source]¶
- Parameters:
vtype (
GES.VideoStandardTransitionType
) – the type of transition to create- Returns:
a newly created
GES.TransitionClip
, orNone
if something went wrong.- Return type:
Creates a new
GES.TransitionClip
.
- classmethod new_for_nick(nick)[source]¶
- Parameters:
nick (
str
) – a string representing the type of transition to create- Returns:
The newly created
GES.TransitionClip
, orNone
if something went wrong- Return type:
Creates a new
GES.TransitionClip
for the provided nick.
Property Details¶
- GES.TransitionClip.props.vtype¶
- Name:
vtype
- Type:
- Default Value:
- Flags:
a
GES.VideoStandardTransitionType
representing the wipe to use