ReplayItem
Defined in: core/items/replay.ts:28
An Item is rendered from a #core/Source Source and represents an
object that is used as an item on the stage. Multiple items may be linked to
a single source and any changes made to the source would affect all linked
items.
Implements: #core/IItemLayout Core/IItemLayout
Basic Usage
Section titled “Basic Usage”var xjs = require('xjs');var Scene = xjs.Scene.getById(1);
Scene.getItems().then(function(items) { if (items.length === 0) return;
// There's a valid item, let's use that var item = items[items.length - 1]; return item.setKeepAspectRatio(true);}).then(function(item) { // Do something else here});All methods marked as Chainable resolve with the original Item instance.
This allows you to perform sequential operations correctly:
var xjs = require('xjs');var Source = xjs.Source;
// an item that sets its own properties on loadxjs.ready() .then(Source.getCurrentSource) .then(function(source) { return source.getItemList() }).then(function(items) { return items[0].setEnhancedResizeEnabled(true) }).then(function(items) { return items[0].setPositionLocked(true) }).then(function(items) { //set more properties here })Extends
Section titled “Extends”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ReplayItem(
props?):ReplayItem
Defined in: core/items/item.ts:88
Parameters
Section titled “Parameters”props?
Section titled “props?”Returns
Section titled “Returns”ReplayItem
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”bringForward
Section titled “bringForward”bringForward: () =>
Promise<ReplayItem>
Defined in: core/items/replay.ts:101
See: #core/IItemLayout#bringForward bringForward
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”bringToFront
Section titled “bringToFront”bringToFront: () =>
Promise<ReplayItem>
Defined in: core/items/replay.ts:106
See: #core/IItemLayout#bringToFront bringToFront
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”getBorderColor
Section titled “getBorderColor”getBorderColor: () =>
Promise<Color>
Defined in: core/items/replay.ts:254
See: #core/IItemColor#getBorderColor getBorderColor
Returns
Section titled “Returns”Promise<Color>
Implementation of
Section titled “Implementation of”getBorderEffectColor
Section titled “getBorderEffectColor”getBorderEffectColor: () =>
Promise<Color>
Defined in: core/items/replay.ts:533
See: #core/IItemEffect#getBorderEffectColor getBorderEffectColor
Returns
Section titled “Returns”Promise<Color>
Implementation of
Section titled “Implementation of”IItemEffect.getBorderEffectColor
getBorderEffectOpacity
Section titled “getBorderEffectOpacity”getBorderEffectOpacity: () =>
Promise<number>
Defined in: core/items/replay.ts:527
See: #core/IItemEffect#getBorderEffectOpacity getBorderEffectOpacity
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemEffect.getBorderEffectOpacity
getBorderEffectRadius
Section titled “getBorderEffectRadius”getBorderEffectRadius: () =>
Promise<number>
Defined in: core/items/replay.ts:515
See: #core/IItemEffect#getBorderEffectRadius getBorderEffectRadius
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemEffect.getBorderEffectRadius
getBorderEffectThickness
Section titled “getBorderEffectThickness”getBorderEffectThickness: () =>
Promise<number>
Defined in: core/items/replay.ts:521
See: #core/IItemEffect#getBorderEffectThickness getBorderEffectThickness
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemEffect.getBorderEffectThickness
getBrightness
Section titled “getBrightness”getBrightness: () =>
Promise<number>
Defined in: core/items/replay.ts:234
See: #core/IItemColor#getBrightness getBrightness
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getCanvasRotate
Section titled “getCanvasRotate”getCanvasRotate: () =>
Promise<number>
Defined in: core/items/replay.ts:126
See: #core/IItemLayout#getCanvasRotate getCanvasRotate
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”getChannel
Section titled “getChannel”getChannel: () =>
Promise<string>
Defined in: core/items/replay.ts:44
See: #core/ISourceReplay#getChannel getChannel
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”getChromaAntiAliasLevel
Section titled “getChromaAntiAliasLevel”getChromaAntiAliasLevel: () =>
Promise<ChromaAntiAliasLevel>
Defined in: core/items/replay.ts:323
See: #core/IItemChroma#getChromaAntiAliasLevel getChromaAntiAliasLevel
Returns
Section titled “Returns”Promise<ChromaAntiAliasLevel>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaAntiAliasLevel
getChromaColorKeyColor
Section titled “getChromaColorKeyColor”getChromaColorKeyColor: () =>
Promise<Color>
Defined in: core/items/replay.ts:439
See: #core/IItemChroma#getChromaColorKeyColor getChromaColorKeyColor
Returns
Section titled “Returns”Promise<Color>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaColorKeyColor
getChromaColorKeyExposure
Section titled “getChromaColorKeyExposure”getChromaColorKeyExposure: () =>
Promise<number>
Defined in: core/items/replay.ts:429
See: #core/IItemChroma#getChromaColorKeyExposure getChromaColorKeyExposure
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaColorKeyExposure
getChromaColorKeyThreshold
Section titled “getChromaColorKeyThreshold”getChromaColorKeyThreshold: () =>
Promise<number>
Defined in: core/items/replay.ts:419
See: #core/IItemChroma#getChromaColorKeyThreshold getChromaColorKeyThreshold
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaColorKeyThreshold
getChromaLegacyAlphaSmoothing
Section titled “getChromaLegacyAlphaSmoothing”getChromaLegacyAlphaSmoothing: () =>
Promise<number>
Defined in: core/items/replay.ts:375
See: #core/IItemChroma#getChromaLegacyAlphaSmoothing getChromaLegacyAlphaSmoothing
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaLegacyAlphaSmoothing
getChromaLegacyBrightness
Section titled “getChromaLegacyBrightness”getChromaLegacyBrightness: () =>
Promise<number>
Defined in: core/items/replay.ts:335
See: #core/IItemChroma#getChromaLegacyBrightness getChromaLegacyBrightness
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaLegacyBrightness
getChromaLegacyHue
Section titled “getChromaLegacyHue”getChromaLegacyHue: () =>
Promise<number>
Defined in: core/items/replay.ts:355
See: #core/IItemChroma#getChromaLegacyHue getChromaLegacyHue
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaLegacyHue
getChromaLegacySaturation
Section titled “getChromaLegacySaturation”getChromaLegacySaturation: () =>
Promise<number>
Defined in: core/items/replay.ts:345
See: #core/IItemChroma#getChromaLegacySaturation getChromaLegacySaturation
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaLegacySaturation
getChromaLegacyThreshold
Section titled “getChromaLegacyThreshold”getChromaLegacyThreshold: () =>
Promise<number>
Defined in: core/items/replay.ts:365
See: #core/IItemChroma#getChromaLegacyThreshold getChromaLegacyThreshold
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaLegacyThreshold
getChromaRGBKeyExposure
Section titled “getChromaRGBKeyExposure”getChromaRGBKeyExposure: () =>
Promise<number>
Defined in: core/items/replay.ts:407
See: #core/IItemChroma#getChromaRGBKeyExposure getChromaRGBKeyExposure
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaRGBKeyExposure
getChromaRGBKeyPrimaryColor
Section titled “getChromaRGBKeyPrimaryColor”getChromaRGBKeyPrimaryColor: () =>
Promise<ChromaPrimaryColors>
Defined in: core/items/replay.ts:387
See: #core/IItemChroma#getChromaRGBKeyPrimaryColor getChromaRGBKeyPrimaryColor
Returns
Section titled “Returns”Promise<ChromaPrimaryColors>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaRGBKeyPrimaryColor
getChromaRGBKeyThreshold
Section titled “getChromaRGBKeyThreshold”getChromaRGBKeyThreshold: () =>
Promise<number>
Defined in: core/items/replay.ts:397
See: #core/IItemChroma#getChromaRGBKeyThreshold getChromaRGBKeyThreshold
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemChroma.getChromaRGBKeyThreshold
getContrast
Section titled “getContrast”getContrast: () =>
Promise<number>
Defined in: core/items/replay.ts:239
See: #core/IItemColor#getContrast getContrast
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getCropping
Section titled “getCropping”getCropping: () =>
Promise<Object>
Defined in: core/items/replay.ts:131
See: #core/IItemLayout#getCropping getCropping
Returns
Section titled “Returns”Promise<Object>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”getCustomName
Section titled “getCustomName”getCustomName: () =>
Promise<string>
Defined in: core/items/item.ts:758
See: #core/Source#getCustomName getCustomName
Returns
Section titled “Returns”Promise<string>
Inherited from
Section titled “Inherited from”getEnhancedRotate
Section titled “getEnhancedRotate”getEnhancedRotate: () =>
Promise<number>
Defined in: core/items/replay.ts:136
See: #core/IItemLayout#getEnhancedRotate getEnhancedRotate
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”getFileMask
Section titled “getFileMask”getFileMask: () =>
Promise<string>
Defined in: core/items/replay.ts:575
See: #core/IItemEffect#getFileMask getFileMask
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”getFilter
Section titled “getFilter”getFilter: () =>
Promise<Filter>
Defined in: core/items/replay.ts:587
See: #core/IItemEffect#getFilter getFilter
Returns
Section titled “Returns”Promise<Filter>
Implementation of
Section titled “Implementation of”getFilterConfig
Section titled “getFilterConfig”getFilterConfig: () =>
Promise<Object>
Defined in: core/items/replay.ts:602
See: #core/IItemEffect#getFilterConfig getFilterConfig
Returns
Section titled “Returns”Promise<Object>
Implementation of
Section titled “Implementation of”getHotkey
Section titled “getHotkey”getHotkey: () =>
Promise<number>
Defined in: core/items/replay.ts:54
See: #core/ISourceReplay#getHotkey getHotkey
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getHue
Section titled “getHue”getHue: () =>
Promise<number>
Defined in: core/items/replay.ts:244
See: #core/IItemColor#getHue getHue
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getId: () =>
Promise<string>
Defined in: core/items/item.ts:267
return: Promise
Get the ID of the Item
item.getId().then(function(id) { // The rest of your code here});Returns
Section titled “Returns”Promise<string>
Inherited from
Section titled “Inherited from”getItemList
Section titled “getItemList”getItemList: () =>
Promise<Item[]>
Defined in: core/items/item.ts:513
See: #core/Source#getItemList getItemList
Returns
Section titled “Returns”Promise<Item[]>
Inherited from
Section titled “Inherited from”getKeepLoaded
Section titled “getKeepLoaded”getKeepLoaded: () =>
Promise<boolean>
Defined in: core/items/item.ts:773
See: #core/Source#getKeepLoaded getKeepLoaded
Returns
Section titled “Returns”Promise<boolean>
Inherited from
Section titled “Inherited from”getKeyingType
Section titled “getKeyingType”getKeyingType: () =>
Promise<KeyingType>
Defined in: core/items/replay.ts:311
See: #core/IItemChroma#getKeyingType getKeyingType
Returns
Section titled “Returns”Promise<KeyingType>
Implementation of
Section titled “Implementation of”getMaskEffect
Section titled “getMaskEffect”getMaskEffect: () =>
Promise<MaskEffect>
Defined in: core/items/replay.ts:509
See: #core/IItemEffect#getMaskEffect getMaskEffect
Returns
Section titled “Returns”Promise<MaskEffect>
Implementation of
Section titled “Implementation of”getName
Section titled “getName”getName: () =>
Promise<string>
Defined in: core/items/item.ts:748
See: #core/Source#getName getName
Returns
Section titled “Returns”Promise<string>
Inherited from
Section titled “Inherited from”getPosition
Section titled “getPosition”getPosition: () =>
Promise<Rectangle>
Defined in: core/items/replay.ts:141
See: #core/IItemLayout#getPosition getPosition
Returns
Section titled “Returns”Promise<Rectangle>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”getReplayState
Section titled “getReplayState”getReplayState: () =>
Promise<number>
Defined in: core/items/replay.ts:84
See: #core/ISourceReplay#getReplayState getReplayState
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getReplayTime
Section titled “getReplayTime”getReplayTime: () =>
Promise<number>
Defined in: core/items/replay.ts:64
See: #core/ISourceReplay#getReplayTime getReplayTime
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getRotateX
Section titled “getRotateX”getRotateX: () =>
Promise<number>
Defined in: core/items/replay.ts:151
See: #core/IItemLayout#getRotateX getRotateX
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”getRotateY
Section titled “getRotateY”getRotateY: () =>
Promise<number>
Defined in: core/items/replay.ts:146
See: #core/IItemLayout#getRotateY getRotateY
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”getRotateZ
Section titled “getRotateZ”getRotateZ: () =>
Promise<number>
Defined in: core/items/replay.ts:156
See: #core/IItemLayout#getRotateZ getRotateZ
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”getSaturation
Section titled “getSaturation”getSaturation: () =>
Promise<number>
Defined in: core/items/replay.ts:249
See: #core/IItemColor#getSaturation getSaturation
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getShadowEffectBlur
Section titled “getShadowEffectBlur”getShadowEffectBlur: () =>
Promise<number>
Defined in: core/items/replay.ts:551
See: #core/IItemEffect#getShadowEffectBlur getShadowEffectBlur
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemEffect.getShadowEffectBlur
getShadowEffectColor
Section titled “getShadowEffectColor”getShadowEffectColor: () =>
Promise<Color>
Defined in: core/items/replay.ts:539
See: #core/IItemEffect#getShadowEffectColor getShadowEffectColor
Returns
Section titled “Returns”Promise<Color>
getShadowEffectOffsetX
Section titled “getShadowEffectOffsetX”getShadowEffectOffsetX: () =>
Promise<number>
Defined in: core/items/replay.ts:563
See: #core/IItemEffect#getShadowEffectOffsetX getShadowEffectOffsetX
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemEffect.getShadowEffectOffsetX
getShadowEffectOffsetY
Section titled “getShadowEffectOffsetY”getShadowEffectOffsetY: () =>
Promise<number>
Defined in: core/items/replay.ts:569
See: #core/IItemEffect#getShadowEffectOffsetY getShadowEffectOffsetY
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemEffect.getShadowEffectOffsetY
getShadowEffectOpacity
Section titled “getShadowEffectOpacity”getShadowEffectOpacity: () =>
Promise<number>
Defined in: core/items/replay.ts:557
See: #core/IItemEffect#getShadowEffectOpacity getShadowEffectOpacity
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemEffect.getShadowEffectOpacity
getShadowEffectThickness
Section titled “getShadowEffectThickness”getShadowEffectThickness: () =>
Promise<number>
Defined in: core/items/replay.ts:545
See: #core/IItemEffect#getShadowEffectThickness getShadowEffectThickness
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemEffect.getShadowEffectThickness
getTransition
Section titled “getTransition”getTransition: () =>
Promise<Transition>
Defined in: core/items/replay.ts:461
See: #core/IItemTransition#getTransition getTransition
Returns
Section titled “Returns”Promise<Transition>
Implementation of
Section titled “Implementation of”getTransitionTime
Section titled “getTransitionTime”getTransitionTime: () =>
Promise<number>
Defined in: core/items/replay.ts:471
See: #core/IItemTransition#getTransitionTime getTransitionTime
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”IItemTransition.getTransitionTime
getTransparency
Section titled “getTransparency”getTransparency: () =>
Promise<number>
Defined in: core/items/replay.ts:229
See: #core/IItemColor#getTransparency getTransparency
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getType
Section titled “getType”getType: () =>
Promise<ItemTypes>
Defined in: core/items/item.ts:786
See: #core/Source#getType getType
Returns
Section titled “Returns”Promise<ItemTypes>
Inherited from
Section titled “Inherited from”getValue
Section titled “getValue”getValue: () =>
Promise<string|XML>
Defined in: core/items/item.ts:763
See: #core/Source#getValue getValue
Returns
Section titled “Returns”Promise<string | XML>
Inherited from
Section titled “Inherited from”getVolume
Section titled “getVolume”getVolume: () =>
Promise<number>
Defined in: core/items/replay.ts:481
See: #core/IAudio#getVolume getVolume
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”isAudioAvailable
Section titled “isAudioAvailable”isAudioAvailable: () =>
Promise<boolean>
Defined in: core/items/replay.ts:504
See: #core/IAudio#isAudioAvailable isAudioAvailable
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”isAutoMute
Section titled “isAutoMute”isAutoMute: () =>
Promise<boolean>
Defined in: core/items/replay.ts:487
See: #core/IAudio#isAutoMute isAutoMute
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”isAutostartOnSceneLoad
Section titled “isAutostartOnSceneLoad”isAutostartOnSceneLoad: () =>
Promise<boolean>
Defined in: core/items/replay.ts:89
See: #core/ISourceReplay#isAutostartOnSceneLoad isAutostartOnSceneLoad
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”ISourceReplay.isAutostartOnSceneLoad
isChromaEnabled
Section titled “isChromaEnabled”isChromaEnabled: () =>
Promise<boolean>
Defined in: core/items/replay.ts:301
See: #core/IItemChroma#isChromaEnabled isChromaEnabled
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”isEnhancedResizeEnabled
Section titled “isEnhancedResizeEnabled”isEnhancedResizeEnabled: () =>
Promise<boolean>
Defined in: core/items/replay.ts:121
See: #core/IItemLayout#isEnhancedResizeEnabled isEnhancedResizeEnabled
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”IItemLayout.isEnhancedResizeEnabled
Overrides
Section titled “Overrides”isFileMaskingGuideVisible
Section titled “isFileMaskingGuideVisible”isFileMaskingGuideVisible: () =>
Promise<boolean>
Defined in: core/items/replay.ts:581
See: #core/IItemEffect#isFileMaskingGuideVisible isFileMaskingGuideVisible
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”IItemEffect.isFileMaskingGuideVisible
isFullDynamicColorRange
Section titled “isFullDynamicColorRange”isFullDynamicColorRange: () =>
Promise<boolean>
Defined in: core/items/replay.ts:259
See: #core/IItemColor#isFullDynamicColorRange isFullDynamicColorRange
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”IItemColor.isFullDynamicColorRange
isKeepAspectRatio
Section titled “isKeepAspectRatio”isKeepAspectRatio: () =>
Promise<boolean>
Defined in: core/items/replay.ts:111
See: #core/IItemLayout#isKeepAspectRatio isKeepAspectRatio
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”isMute
Section titled “isMute”isMute: () =>
Promise<boolean>
Defined in: core/items/replay.ts:484
See: #core/IAudio#isMute isMute
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”isPositionLocked
Section titled “isPositionLocked”isPositionLocked: () =>
Promise<boolean>
Defined in: core/items/replay.ts:116
See: #core/IItemLayout#isPositionLocked isPositionLocked
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”isStreamOnlyAudio
Section titled “isStreamOnlyAudio”isStreamOnlyAudio: () =>
Promise<boolean>
Defined in: core/items/replay.ts:498
See: #core/IAudio#isStreamOnlyAudio isStreamOnlyAudio
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”isVisible
Section titled “isVisible”isVisible: () =>
Promise<boolean>
Defined in: core/items/replay.ts:451
See: #core/IItemTransition#isVisible isVisible
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”refresh
Section titled “refresh”refresh: () =>
Promise<Source>
Defined in: core/items/item.ts:783
See: #core/Source#refresh refresh
Returns
Section titled “Returns”Promise<Source>
Inherited from
Section titled “Inherited from”removeFilter
Section titled “removeFilter”removeFilter: () =>
Promise<ReplayItem>
Defined in: core/items/replay.ts:599
See: #core/IItemEffect#removeFilter removeFilter
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”sendBackward
Section titled “sendBackward”sendBackward: () =>
Promise<ReplayItem>
Defined in: core/items/replay.ts:161
See: #core/IItemLayout#sendBackward sendBackward
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”sendToBack
Section titled “sendToBack”sendToBack: () =>
Promise<ReplayItem>
Defined in: core/items/replay.ts:166
See: #core/IItemLayout#sendToBack sendToBack
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setAutoMute
Section titled “setAutoMute”setAutoMute: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:496
See: #core/IAudio#setAutoMute setAutoMute
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setAutostartOnSceneLoad
Section titled “setAutostartOnSceneLoad”setAutostartOnSceneLoad: (
value) =>Promise<ISourceReplay>
Defined in: core/items/replay.ts:94
See: #core/ISourceReplay#setAutostartOnSceneLoad setAutostartOnSceneLoad
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ISourceReplay>
Implementation of
Section titled “Implementation of”ISourceReplay.setAutostartOnSceneLoad
setBorderColor
Section titled “setBorderColor”setBorderColor: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:289
See: #core/IItemColor#setBorderColor setBorderColor
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setBorderEffectColor
Section titled “setBorderEffectColor”setBorderEffectColor: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:536
See: #core/IItemEffect#setBorderEffectColor setBorderEffectColor
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setBorderEffectColor
setBorderEffectOpacity
Section titled “setBorderEffectOpacity”setBorderEffectOpacity: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:530
See: #core/IItemEffect#setBorderEffectOpacity setBorderEffectOpacity
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setBorderEffectOpacity
setBorderEffectRadius
Section titled “setBorderEffectRadius”setBorderEffectRadius: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:518
See: #core/IItemEffect#setBorderEffectRadius setBorderEffectRadius
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setBorderEffectRadius
setBorderEffectThickness
Section titled “setBorderEffectThickness”setBorderEffectThickness: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:524
See: #core/IItemEffect#setBorderEffectThickness setBorderEffectThickness
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setBorderEffectThickness
setBrightness
Section titled “setBrightness”setBrightness: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:269
See: #core/IItemColor#setBrightness setBrightness
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setCanvasRotate
Section titled “setCanvasRotate”setCanvasRotate: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:171
See: #core/IItemLayout#setCanvasRotate setCanvasRotate
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setChannel
Section titled “setChannel”setChannel: (
channel) =>Promise<ISourceReplay>
Defined in: core/items/replay.ts:49
See: #core/ISourceReplay#setChannel setChannel
Parameters
Section titled “Parameters”channel
Section titled “channel”string
Returns
Section titled “Returns”Promise<ISourceReplay>
Implementation of
Section titled “Implementation of”setChromaAntiAliasLevel
Section titled “setChromaAntiAliasLevel”setChromaAntiAliasLevel: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:328
See: #core/IItemChroma#setChromaAntiAliasLevel setChromaAntiAliasLevel
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaAntiAliasLevel
setChromaColorKeyColor
Section titled “setChromaColorKeyColor”setChromaColorKeyColor: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:444
See: #core/IItemChroma#setChromaColorKeyColor setChromaColorKeyColor
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaColorKeyColor
setChromaColorKeyExposure
Section titled “setChromaColorKeyExposure”setChromaColorKeyExposure: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:434
See: #core/IItemChroma#setChromaColorKeyExposure setChromaColorKeyExposure
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaColorKeyExposure
setChromaColorKeyThreshold
Section titled “setChromaColorKeyThreshold”setChromaColorKeyThreshold: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:424
See: #core/IItemChroma#setChromaColorKeyThreshold setChromaColorKeyThreshold
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaColorKeyThreshold
setChromaEnabled
Section titled “setChromaEnabled”setChromaEnabled: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:306
See: #core/IItemChroma#setChromaEnabled setChromaEnabled
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setChromaLegacyAlphaSmoothing
Section titled “setChromaLegacyAlphaSmoothing”setChromaLegacyAlphaSmoothing: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:380
See: #core/IItemChroma#setChromaLegacyAlphaSmoothing setChromaLegacyAlphaSmoothing
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaLegacyAlphaSmoothing
setChromaLegacyBrightness
Section titled “setChromaLegacyBrightness”setChromaLegacyBrightness: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:340
See: #core/IItemChroma#setChromaLegacyBrightness setChromaLegacyBrightness
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaLegacyBrightness
setChromaLegacyHue
Section titled “setChromaLegacyHue”setChromaLegacyHue: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:360
See: #core/IItemChroma#setChromaLegacyHue setChromaLegacyHue
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaLegacyHue
setChromaLegacySaturation
Section titled “setChromaLegacySaturation”setChromaLegacySaturation: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:350
See: #core/IItemChroma#setChromaLegacySaturation setChromaLegacySaturation
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaLegacySaturation
setChromaLegacyThreshold
Section titled “setChromaLegacyThreshold”setChromaLegacyThreshold: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:370
See: #core/IItemChroma#setChromaLegacyThreshold setChromaLegacyThreshold
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaLegacyThreshold
setChromaRGBKeyExposure
Section titled “setChromaRGBKeyExposure”setChromaRGBKeyExposure: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:412
See: #core/IItemChroma#setChromaRGBKeyExposure setChromaRGBKeyExposure
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaRGBKeyExposure
setChromaRGBKeyPrimaryColor
Section titled “setChromaRGBKeyPrimaryColor”setChromaRGBKeyPrimaryColor: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:392
See: #core/IItemChroma#setChromaRGBKeyPrimaryColor setChromaRGBKeyPrimaryColor
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaRGBKeyPrimaryColor
setChromaRGBKeyThreshold
Section titled “setChromaRGBKeyThreshold”setChromaRGBKeyThreshold: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:402
See: #core/IItemChroma#setChromaRGBKeyThreshold setChromaRGBKeyThreshold
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemChroma.setChromaRGBKeyThreshold
setContrast
Section titled “setContrast”setContrast: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:274
See: #core/IItemColor#setContrast setContrast
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setCropping
Section titled “setCropping”setCropping: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:176
See: #core/IItemLayout#setCropping setCropping
Parameters
Section titled “Parameters”Object
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setCroppingEnhanced
Section titled “setCroppingEnhanced”setCroppingEnhanced: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:181
See: #core/IItemLayout#setCroppingEnhanced setCroppingEnhanced
Parameters
Section titled “Parameters”Object
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemLayout.setCroppingEnhanced
Overrides
Section titled “Overrides”setCustomName
Section titled “setCustomName”setCustomName: () =>
Promise<Item>
Defined in: core/items/item.ts:753
See: #core/Source#setCustomName setCustomName
Returns
Section titled “Returns”Promise<Item>
Inherited from
Section titled “Inherited from”setEnhancedResizeEnabled
Section titled “setEnhancedResizeEnabled”setEnhancedResizeEnabled: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:202
See: #core/IItemLayout#setEnhancedResizeEnabled setEnhancedResizeEnabled
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemLayout.setEnhancedResizeEnabled
Overrides
Section titled “Overrides”setEnhancedRotate
Section titled “setEnhancedRotate”setEnhancedRotate: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:187
See: #core/IItemLayout#setEnhancedRotate setEnhancedRotate
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setFileMask
Section titled “setFileMask”setFileMask: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:578
See: #core/IItemEffect#setFileMask setFileMask
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setFilter
Section titled “setFilter”setFilter: (
value,config?) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:590
See: #core/IItemEffect#setFilter setFilter
Parameters
Section titled “Parameters”any
config?
Section titled “config?”intensity?
Section titled “intensity?”number
resourceFile?
Section titled “resourceFile?”string
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setFullDynamicColorRange
Section titled “setFullDynamicColorRange”setFullDynamicColorRange: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:294
See: #core/IItemColor#setFullDynamicColorRange setFullDynamicColorRange
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemColor.setFullDynamicColorRange
setHotkey
Section titled “setHotkey”setHotkey: (
hotkey) =>Promise<ISourceReplay>
Defined in: core/items/replay.ts:59
See: #core/ISourceReplay#setHotkey setHotkey
Parameters
Section titled “Parameters”hotkey
Section titled “hotkey”number
Returns
Section titled “Returns”Promise<ISourceReplay>
Implementation of
Section titled “Implementation of”setHue
Section titled “setHue”setHue: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:279
See: #core/IItemColor#setHue setHue
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setKeepAspectRatio
Section titled “setKeepAspectRatio”setKeepAspectRatio: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:192
See: #core/IItemLayout#setKeepAspectRatio setKeepAspectRatio
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemLayout.setKeepAspectRatio
Overrides
Section titled “Overrides”setKeepLoaded
Section titled “setKeepLoaded”setKeepLoaded: (
value) =>Promise<Item>
Defined in: core/items/item.ts:778
See: #core/Source#setKeepLoaded setKeepLoaded
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<Item>
Inherited from
Section titled “Inherited from”setKeyingType
Section titled “setKeyingType”setKeyingType: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:316
See: #core/IItemChroma#setKeyingType setKeyingType
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setMaskEffect
Section titled “setMaskEffect”setMaskEffect: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:512
See: #core/IItemEffect#setMaskEffect setMaskEffect
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setMute
Section titled “setMute”setMute: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:493
See: #core/IAudio#setMute setMute
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setName
Section titled “setName”setName: (
value) =>Promise<Item>
Defined in: core/items/item.ts:743
See: #core/Source#setName setName
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<Item>
Inherited from
Section titled “Inherited from”setPosition
Section titled “setPosition”setPosition: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:207
See: #core/IItemLayout#setPosition setPosition
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setPositionLocked
Section titled “setPositionLocked”setPositionLocked: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:197
See: #core/IItemLayout#setPositionLocked setPositionLocked
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setReplayTime
Section titled “setReplayTime”setReplayTime: (
buffer) =>Promise<ISourceReplay>
Defined in: core/items/replay.ts:69
See: #core/ISourceReplay#setReplayTime setReplayTime
Parameters
Section titled “Parameters”buffer
Section titled “buffer”number
Returns
Section titled “Returns”Promise<ISourceReplay>
Implementation of
Section titled “Implementation of”setRotateX
Section titled “setRotateX”setRotateX: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:217
See: #core/IItemLayout#setRotateX setRotateX
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setRotateY
Section titled “setRotateY”setRotateY: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:212
See: #core/IItemLayout#setRotateY setRotateY
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setRotateZ
Section titled “setRotateZ”setRotateZ: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:222
See: #core/IItemLayout#setRotateZ setRotateZ
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”setSaturation
Section titled “setSaturation”setSaturation: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:284
See: #core/IItemColor#setSaturation setSaturation
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setShadowEffectBlur
Section titled “setShadowEffectBlur”setShadowEffectBlur: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:554
See: #core/IItemEffect#setShadowEffectBlur setShadowEffectBlur
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setShadowEffectBlur
setShadowEffectColor
Section titled “setShadowEffectColor”setShadowEffectColor: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:542
See: #core/IItemEffect#setShadowEffectColor setShadowEffectColor
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
setShadowEffectOffsetX
Section titled “setShadowEffectOffsetX”setShadowEffectOffsetX: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:566
See: #core/IItemEffect#setShadowEffectOffsetX setShadowEffectOffsetX
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setShadowEffectOffsetX
setShadowEffectOffsetY
Section titled “setShadowEffectOffsetY”setShadowEffectOffsetY: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:572
See: #core/IItemEffect#setShadowEffectOffsetY setShadowEffectOffsetY
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setShadowEffectOffsetY
setShadowEffectOpacity
Section titled “setShadowEffectOpacity”setShadowEffectOpacity: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:560
See: #core/IItemEffect#setShadowEffectOpacity setShadowEffectOpacity
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setShadowEffectOpacity
setShadowEffectThickness
Section titled “setShadowEffectThickness”setShadowEffectThickness: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:548
See: #core/IItemEffect#setShadowEffectThickness setShadowEffectThickness
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.setShadowEffectThickness
setStreamOnlyAudio
Section titled “setStreamOnlyAudio”setStreamOnlyAudio: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:501
See: #core/IAudio#setStreamOnlyAudio setStreamOnlyAudio
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setTransition
Section titled “setTransition”setTransition: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:466
See: #core/IItemTransition#setTransition setTransition
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setTransitionTime
Section titled “setTransitionTime”setTransitionTime: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:476
See: #core/IItemTransition#setTransitionTime setTransitionTime
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemTransition.setTransitionTime
setTransparency
Section titled “setTransparency”setTransparency: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:264
See: #core/IItemColor#setTransparency setTransparency
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setValue
Section titled “setValue”setValue: (
value) =>Promise<Item>
Defined in: core/items/item.ts:768
See: #core/Source#setValue setValue
Parameters
Section titled “Parameters”string | XML
Returns
Section titled “Returns”Promise<Item>
Inherited from
Section titled “Inherited from”setVisible
Section titled “setVisible”setVisible: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:456
See: #core/IItemTransition#setVisible setVisible
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”setVolume
Section titled “setVolume”setVolume: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:490
See: #core/IAudio#setVolume setVolume
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”showFileMaskingGuide
Section titled “showFileMaskingGuide”showFileMaskingGuide: (
value) =>Promise<ReplayItem>
Defined in: core/items/replay.ts:584
See: #core/IItemEffect#showFileMaskingGuide showFileMaskingGuide
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Promise<ReplayItem>
Implementation of
Section titled “Implementation of”IItemEffect.showFileMaskingGuide
startReplay
Section titled “startReplay”startReplay: () =>
Promise<ISourceReplay>
Defined in: core/items/replay.ts:74
See: #core/ISourceReplay#startReplay startReplay
Returns
Section titled “Returns”Promise<ISourceReplay>
Implementation of
Section titled “Implementation of”stopReplay
Section titled “stopReplay”stopReplay: () =>
Promise<ISourceReplay>
Defined in: core/items/replay.ts:79
See: #core/ISourceReplay#stopReplay stopReplay
Returns
Section titled “Returns”Promise<ISourceReplay>
Implementation of
Section titled “Implementation of”_emitter
Section titled “_emitter”
static_emitter:EventEmitter
Defined in: core/items/item.ts:85
Inherited from
Section titled “Inherited from”_subscriptions
Section titled “_subscriptions”
static_subscriptions:any[] =[]
Defined in: core/items/item.ts:86
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”duplicate()
Section titled “duplicate()”duplicate(
options?):Promise<Item>
Defined in: core/items/item.ts:416
param: (options: {linked?:
return: Promise<Item>Duplicate an item into the current scene or to a specified scene as Linked or Unlinked.
Linked items would generally have a single source, and any changes in the property of an item would be applied to all linked items.
Chainable
// item pertains to an actual Item instance// Sample 1item.duplicate() // duplicate selected item to the current scene as unlinkedDuplicate the selected item to a specific scene and set it to be linked to a single source with the original item.
// Sample 2var toScene = xjs.Scene.getById(2)item.duplicate({linked:true, scene:toScene})Parameters
Section titled “Parameters”options?
Section titled “options?”linked?
Section titled “linked?”boolean
scene?
Section titled “scene?”number | Scene
Returns
Section titled “Returns”Promise<Item>
Inherited from
Section titled “Inherited from”getFPS()
Section titled “getFPS()”getFPS():
Promise<number>
Defined in: core/items/item.ts:282
return: Promise
Get the frames rendered per second of an item
item.getFPS().then(function(fps) { // The rest of your code here});Returns
Section titled “Returns”Promise<number>
Inherited from
Section titled “Inherited from”getParentItem()
Section titled “getParentItem()”getParentItem():
Promise<Item>
Defined in: core/items/item.ts:587
return: Promise
Get the GroupItem that contains this item. This rejects if item is not a child item or non-existent
item.getParentItem().then(function(parentItem) { console.log(parentItem);});Returns
Section titled “Returns”Promise<Item>
Inherited from
Section titled “Inherited from”getSceneId()
Section titled “getSceneId()”getSceneId():
Promise<string|number>
Defined in: core/items/item.ts:351
return: Promise<number|string>
Get (1-indexed) Scene ID where the source is loaded
source.getSceneId().then(function(id) { // The rest of your code here});Returns
Section titled “Returns”Promise<string | number>
Inherited from
Section titled “Inherited from”getSource()
Section titled “getSource()”getSource():
Promise<Source>
Defined in: core/items/item.ts:530
return: Promise
Gets the Source of an item, linked items would only have 1 source.
Chainable
item.getSource().then(function(source) { //Manipulate source here source.setName('New Name')})Returns
Section titled “Returns”Promise<Source>
Inherited from
Section titled “Inherited from”getView()
Section titled “getView()”getView():
Promise<ViewTypes>
Defined in: core/items/item.ts:320
return: Promise
Get the view type of the item
item.getView().then(function(view) { // view values: // 0 = main view // 1 = preview editor // 2 = thumbnail preview})Returns
Section titled “Returns”Promise<ViewTypes>
Inherited from
Section titled “Inherited from”isChildItem()
Section titled “isChildItem()”isChildItem():
Promise<boolean>
Defined in: core/items/item.ts:558
return: Promise
Checks if item is part of a group
item.isChildItem().then(function(isChild) { console.log(isChild);});Returns
Section titled “Returns”Promise<boolean>
Inherited from
Section titled “Inherited from”off(
event,handler):void
Defined in: core/items/item.ts:224
param: (event: string, handler: Function)
Removes specificied event handler bound by on.
Note that this can only be done for named function handlers.
Usage:
Section titled “Usage:”let itemChange = function(...args) { console.log('Item has changed');}
let current;let items;xjs.Scene.getActiveScene().then( scene => { current = scene; return current.getItems();}).then( list => { items = list; items[0].on('item-changed', itemChange); setTimeout( ()=> { items[0].off('item-changed', itemChange); }, 10000);});Parameters
Section titled “Parameters”string
handler
Section titled “handler”Function
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”on(
event,handler):void
Defined in: core/items/item.ts:126
param: (event: string, handler: Function)
Allows listening to events per instance.
Currently there are only two:
item-changed and item-destroyed.
Item change is triggered thru any property change:
- via js(source plugin/extension),
- via visibility-toggling through the sources list,
- or via the source properties dialog
Usage:
Section titled “Usage:”let itemChange = function(...args) { console.log('Item has changed');}
let current;let items;xjs.Scene.getActiveScene().then( scene => { current = scene; return current.getItems();}).then( list => { items = list; items[0].on('item-changed', itemChange);});Duplicate handlers are allowed.
Parameters
Section titled “Parameters”string
handler
Section titled “handler”Function
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”remove()
Section titled “remove()”remove():
Promise<boolean>
Defined in: core/items/item.ts:504
return: Promise
Removes selected item
item.remove()Returns
Section titled “Returns”Promise<boolean>
Inherited from
Section titled “Inherited from”toXML()
Section titled “toXML()”toXML():
XML
Defined in: core/items/item.ts:373
return: XML
Convert the Item object to an XML object. Use toString() to
get the string version of the returned object.
var xml = item.toXML();Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”unlink()
Section titled “unlink()”unlink():
Promise<Item>
Defined in: core/items/item.ts:486
return: Promise
Unlinks selected item.
Unlinks an item to the source of other linked items and renders its own source.
item.unlink()Note: Once you unlink an Item, there’s still no method to reverse the process.
Returns
Section titled “Returns”Promise<Item>
Inherited from
Section titled “Inherited from”getAllSources()
Section titled “getAllSources()”
staticgetAllSources():Promise<Source[]>
Defined in: core/source/source.ts:220
return: Promise<Source[]>
Get all unique Source from every scene.
Total number of Sources returned may be less than total number of items on
all the scenes due to Linked items only having a single Source.
xjs.Source.getAllSources().then(function(sources) { for(var i = 0 ; i < sources.length ; i++) { if(sources[i] instanceof xjs.HtmlSource) { // Manipulate HTML Source here } }})Returns
Section titled “Returns”Promise<Source[]>
Inherited from
Section titled “Inherited from”getCurrentSource()
Section titled “getCurrentSource()”
staticgetCurrentSource():Promise<Source>
Defined in: core/source/source.ts:108
return: Promise
Get the current source (when function is called by sources), or the source that was right-clicked to open the source properties window (when function is called from the source properties window)
xjs.Source.getCurrentSource().then(function(source) { // This will fetch the current source (the plugin)}).catch(function(err) { // Handle the error here. Errors would only occur // if we try to execute this method on Extension plugins});Returns
Section titled “Returns”Promise<Source>
Inherited from
Section titled “Inherited from”getItemList()
Section titled “getItemList()”
staticgetItemList():Promise<Item[]>
Defined in: core/items/item.ts:248
return: Promise<Item[]>
Gets the list of linked items of the current Item. Linked items are items linked to a single source.
xjs.Item.getItemList().then(function(items) { for (var i = 0 ; i < items.length ; i++) { // Manipulate each item here items[i].setKeepAspectRatio(true); }})This is simply a shortcut to:
xjs.Item.getCurrentSource() -> source.getItemList()
Returns
Section titled “Returns”Promise<Item[]>